close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Contact From Validation Conflict

Thread began 2/10/2010 5:25 am by tdebos162481 | Last modified 4/06/2010 4:17 am by tdebos162481 | 5416 views | 18 replies

tdebos162481

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,

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...