943,898 Members | Top Members by Rank

Ad:
Dec 1st, 2008
0

validation

Expand Post »
Have I got this right?
I have a massive form with about 150 text fields with about 10 min of which need to be filled in. If I add a .js file and my .css file to the server that checks the form fields as the user fills it in with correct validation this will overcome the client side of on/off javascript. The form will be using the .js file on the server to check the fields regardless of the client.
Take me about 3 days to make and code all this but i'm sure i'll get there.
I then have a .php file which will extract all the data and email it back to me. Thus the .php file will not need if & else statements as the .js will do it all in the process of filling it in.
Also I will set-up a protected folder which will store the .php, .css and .js files which will keep the files away from anybody trying to harrass me with injection.
Does this sound like the right way to do all this?
simple answers of yes or no and why will do me.
This is what I will call stage 1 of 2 but stage 2 will be next week at least
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
stealthmode is offline Offline
15 posts
since Apr 2007
Dec 2nd, 2008
0

Re: validation

No absolutely not. You have such a huge form with so many text fields. From the user perspective imagine whether it is good to wait for the slow server to response for validation just for not filling a field.

That will be very frustrating!!
Last edited by Luckychap; Dec 2nd, 2008 at 12:53 am.
Reputation Points: 83
Solved Threads: 61
Posting Pro in Training
Luckychap is offline Offline
442 posts
since Aug 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in JavaScript / DHTML / AJAX Forum Timeline: Merging 2 Arrays
Next Thread in JavaScript / DHTML / AJAX Forum Timeline: gridview search when keypress





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC