im having two problems 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:

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:

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:
EX:

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:

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:
Comment