Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
I need a to create a form from the ground up.
Old 08-20-2007, 08:30 PM I need a to create a form from the ground up.
Experienced Talker

Posts: 44
Name: Snapper
Location: Indiana
Trades: 0
Mods move this to a more appropriate forum if needed. Wasn't sure where to place it.
First off, I am not a programmer. I need a simple (or user friendly) way to create generate a script for the css forms I create. Basically like this:
  1. I create the form layout on a web page
  2. I would like to use javascript to validate the required fields
  3. I need to be able to generate a php script that works with the above to conditions.
Maybe there is no simple way, but there has to be a more efficient way than trying to completely build scripts from scratch (which I will be doing as I go, but need a faster solution until I learn it all) If there is anyone that can point me in the right direction, I would be more than grateful! Thanx in advance
__________________
Snapper
snapcridge is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-20-2007, 08:35 PM Re: I need a to create a form from the ground up.
JamieLewis's Avatar
Pretty Much a Big Deal...

Latest Blog Post:
Gooie
Posts: 385
Name: Jamie Lewis
Location: UK
Trades: 0
Quote:
Originally Posted by snapcridge View Post
Mods move this to a more appropriate forum if needed. Wasn't sure where to place it.
First off, I am not a programmer. I need a simple (or user friendly) way to create generate a script for the css forms I create. Basically like this:
  1. I create the form layout on a web page
  2. I would like to use javascript to validate the required fields
  3. I need to be able to generate a php script that works with the above to conditions.
Maybe there is no simple way, but there has to be a more efficient way than trying to completely build scripts from scratch (which I will be doing as I go, but need a faster solution until I learn it all) If there is anyone that can point me in the right direction, I would be more than grateful! Thanx in advance
Lets deal with this step by step.

1. You will always need to create the form yourself, for maximum efficiency anyway. This should take roughly 5-10 minutes depending on the size of the form.

2. Don't even bother, validating with javascript is a waste of time. Wait until you have a php validation routine written and use the return calls from that to buiild an AJAX script later on.

3.This will also have to be done for each form you make. Sorry, just the way it is.

Writing scripts from scratch is the way it should be done. There are libraries of pre-written classes you can have a search through and some might have routines that you will find useful but for custom builds you are on your own.

Jamie
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
JamieLewis is offline
Reply With Quote
View Public Profile Visit JamieLewis's homepage!
 
Old 08-20-2007, 08:46 PM Re: I need a to create a form from the ground up.
Experienced Talker

Posts: 44
Name: Snapper
Location: Indiana
Trades: 0
I'll clarify
Quote:
Originally Posted by JamieLewis View Post
Lets deal with this step by step.

1. You will always need to create the form yourself, for maximum efficiency anyway. This should take roughly 5-10 minutes depending on the size of the form.

Forms are already created.

2. Don't even bother, validating with javascript is a waste of time. Wait until you have a php validation routine written and use the return calls from that to buiild an AJAX script later on.

Okay with an AJAX script then. A validation method that will display next to the field without an alert popup (unless the browser doesn't support that method or it's turned off)

3.This will also have to be done for each form you make. Sorry, just the way it is.

Writing scripts from scratch is the way it should be done. There are libraries of pre-written classes you can have a search through and some might have routines that you will find useful but for custom builds you are on your own.

Thanx for the tip. I'm already doing some investigating.

Jamie
__________________
Snapper
snapcridge is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to I need a to create a form from the ground up.
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.13407 seconds with 12 queries