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

Validation no longer working...old version though. :(

Thread began 10/31/2014 11:36 am by Nathon Jones Web Design | Last modified 11/06/2014 1:33 pm by Nathon Jones Web Design | 1971 views | 22 replies

Jason ByrnesWebAssist

The problem would have started when you added the yahoo search form.

when the validation is created, it uses the form index to refer to the form in the javascript code. when it was created it used index 0 because it was the only form on the page:

the yahoo search form has since been added, and it occurs before the events form, so now the yahoo form is index 0 and the events search for is index 1.

in the onchange event for the events search form, change each instance of:


onsubmit="WAValidateRQ(document.forms[0].sdate,'- Please enter a start date.',document.forms[1].sdate,0,false,'text');WAValidateRQ(document.forms[1].edate,'- Please enter an end date.',document.forms[1].edate,0,false,'text');WAValidateDT(document.forms[1].sdate,'- Invalid date.',true,/.*/,'','','',false,/.*/,'','','',document.forms[1].sdate,0,false);WAValidateDT(document.forms[1].edate,'- Invalid date.',true,/.*/,'','','',false,/.*/,'','','',document.forms[1].edate,0,false);WAValidateRT(document.forms[1].k,document.forms[1].k.value,'- Invalid content in your keyword search.','%7B|%7B, %7D|%7D, %5B|%5B, %5D|%5D, //|//, :|:, ;|;, (|(, )|), =|=, +|+, _|_, http|http, http|http, %5Burl|%5Burl, /url%5D|/url%5D, %25|%25, $|$, #|#, %5Blink|%5Blink, /link%5D|/link%5D',document.forms[0].k,0,false);WAAlertErrors('The following errors were found','Correct invalid entries to continue',true,false,false);return document.MM_returnValue"

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