Jump to content

form validation and submitting


brown2005

Recommended Posts

<form action="process.php" method="post" onsubmit="return false;" id="myid">

 

<button type="submit" id="submit-go" onclick="ajax_form('myid','validate.php','receiver');">Submit</button>

 

when I click on the button it checks everything...

 

if errors will show as red. if ok will show as green.

 

what I want to know is once they are all green.. how do I make it submit to the process.php form...

 

thanks

Link to comment
https://forums.phpfreaks.com/topic/169088-form-validation-and-submitting/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.