I had been hoping to fix this up before we started the revamp, but was not able to get it to work, so the issue remains outstanding.
We have moved all the Contact Form files and folders (including the template folder, although I'm not sure why its critical to do so since the file is not used ) to the site root.
We were not able to incorporate the instructions you gave last time as we are not sure where this goes nor whether the "contact" needs to be modified as well :
-----------------------
to maintain the values of the form elements on failed validation, add the following code to the value for each form element:
PHP Code:
<?php echo(ValidatedField("contact","<element name>")) ?>
substitute <element name> with the correct name for the element.
-----------------------
We have created two versions of the form on the new site, to test different things but neither works properly.
membership.php -
Problem : uses formmail and submits even if security image is not matched
Positive : we receive email reply and validates for the correct number of fields of the image
membership_PHP.php
Problem : submits upon validation of security image without any fields completed, never receive the email reply
Positive : uses the "<form action="" method="post" name="emailContact" id="emailContact" onsubmit="">.
I have tried numerous permutations of the page in order to get this to work, by trial and error and spent countless hours. Now I just need it to validate, execute and return the form reply. How do I go about doing this? There seem to be quite a few problems with returning the form results, is there not a step-by-step manual for inclusion into a preexisting form using only this solution?
Thanks,