Forums
This topic is locked
ASP Upload appears to stop form validation
Posted 01 Jun 2007 12:11:00
1
has voted
01 Jun 2007 12:11:00 Gareth Tannatt Nash posted:
Hi all, I would be really grateful for your assistance with the attached, i have a number of forms on a client site, which all need to be validated, the problem is that upon applying Pure ASP Upload the form will show the validation errors but then post the form anyway, is there a solution for this?Many thanks
GTN
Replies
Replied 01 Jun 2007 12:35:12
01 Jun 2007 12:35:12 Gareth Tannatt Nash replied:
Hi again ignore the above, i found the solution to this problem here www.dmxzone.com/forum/topic.asp?topic_id=11884
The solution from Andy Bertaut is -
I've have this problem myself. A way around it is to attach your form valiation to the onClick function of the submit button, and not the Submit function of the form. works a treat.
Thanks Andy
The solution from Andy Bertaut is -
I've have this problem myself. A way around it is to attach your form valiation to the onClick function of the submit button, and not the Submit function of the form. works a treat.
Thanks Andy