Page 1 of 1

form submit

PostPosted: Tue Jun 19, 2007 10:01 am
by lking79
Hello,

How can I check that a form has been submitted with

formObj = new DHTMLSuite.form({ formRef:'myForm',action:'myfile.php',responseEl:'compose' });


The $_POST['submit'] (on my submit button) doesn't work anymore, because now the attribute is 'button' and not 'submit'.

thanks for the help

PostPosted: Tue Jun 19, 2007 10:46 am
by Batalf
Maybe you can check on another field.

Example:

<?

if(isset($_POST['firstname'])){
// Form is submitted






}


?>

PostPosted: Tue Jun 19, 2007 10:50 am
by lking79
that's what I did as for now, but I'm not entirely satisfied with that solution :roll: