close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Need to hit Submit button twice on a Contact form with an iRite field added.

Thread began 6/23/2009 2:20 am by kenstites342105 | Last modified 6/23/2009 9:47 pm by kenstites342105 | 2102 views | 2 replies


Need to hit Submit button twice on a Contact form with an iRite field added.

I'm using the Contact Form Solution pack and have converted the comment field to an iRite Rich Text Editor Field. Now when I put in a comment and hit Submit, the validation rule runs and states "Please provide Comment" even though there is a comment already in the field.

If I hit Submit again, the validation passes. Is there a way to get the validation to pass when I hit the submit button the first time?

Here is a link to see an example of which I'm refering:

Click on the link on the right hand side just under "Add a Comment". That will open the page with the contact form.

Here is the code for the comment form element.

// WebAssist iRite: Rich Text Editor for Dreamweaver
$WARichTextEditor_1 = CreateRichTextEditor ("Comments", "WA_iRite/", "100%", "200px", "Custom", "../custom/comments_Comments1.js", "".(ValidatedField("contact","Comments")) ."");
<br />
if (ValidatedField("contact","contact")) {
if ((strpos((",".ValidatedField("contact","contact").","), "," . "3" . ",") !== false || "3" == "")) {
if (!(false)) {
<p class="emailFormError">*Please add a comment.<br />
<?php //WAFV_Conditional contact.php contact(3:)

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





Ease of use


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...