Forums
This topic is locked
Server Side Validation
Posted 24 Apr 2007 19:20:24
1
has voted
24 Apr 2007 19:20:24 Matthew Cooper posted:
Im trying to get some server side validation in a register page im doing, however because macromedia uses the <form action="<%=MM_editAction%>" instead of action="register.asp" It wont run the validation, my form tag is as follows as the moment <form action="<%=MM_editAction%>" method="POST" name="formRegistration" id="form1" onSubmit="return Form_Validator(this)"> If I refresh the page it works ok and shows the fields that need to be completed, but if I hit submit it just passes the data through to the sql database without checking the fieldsIf anyone is interested im using the server side validation on this page
www.4guysfromrolla.com/webtech/020799-1.shtml
If anyone has any ideas it would be much appreciated
Regards
Mat