# August 13, 2009 at 2:54 pm
CHris# August 14, 2009 at 10:25 am
This reply has been reported for inappropriate content."apostrophe" wrote:"ikthius" wrote:the problem here is that your having to send it to the server for check, this will make your form slower.
Are you advocating forms without php validation?
no just pointing out it might be a bit slower being sent to the server for a check to come back thten maybe to get checked again & so on, before being actioned…# August 14, 2009 at 11:05 am
This reply has been reported for inappropriate content.Quote:no just pointing out it might be a bit slower being sent to the server for a check to come back thten maybe to get checked again & so on, before being actioned…
Fair enough. ;)
You were giving me palpitations there for a minute. :shock:# August 14, 2009 at 12:17 pm
That would be my preferred method too, although that wasn’t what AlCapone asked for.
If you are still with us AlCapone, here is a reasonable form tutorial that validates both in jQuery and PHP: http://www.raymondselda.com/php-contact-form-with-jquery-validation/# August 15, 2009 at 1:25 am
This reply has been reported for inappropriate content."AlCapone" wrote:ok, i found this video tutorial which uses ajax to validate when the send button is clicked. Is this a good thing to do? I thought that we had to use php incase the user has disabled jquery… If this needs it enabled to send the for are we defeating the purpose?
It does use php aswell, when you click the submit button ajax and jquery check and then send to php file – but if the user has jquery disabled nothing will happen when the submit button is clicked. So is this a good method and its their fault they have it disabled, if they want to use it they must enable it, or is this not a good thing to do?
You must be logged in to reply to this topic.