Page 1 of 1

How to submit the data although it return false?

Posted: Mon Jul 23, 2007 1:48 am
by smartic
im having two problem with my site, i wrote Javascript code into my page to return true if the data that was entered was correct else return false and im having two buttons to submit the data
EX:
Image
this button to check for availability and the other to check that all data are correct to insert into it database in the same form.
EX:
Image
The other problem, i want to login in the same page im already on and make the form disappear when i enter the correct data how to do that
EX:
Image :x [/img]

Posted: Mon Jul 23, 2007 6:09 am
by superdezign
I'd definitely do that server-side, since users who do not have JavaScript (or have it disabled) won't be able to sign up.