close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

I can't seem to find the error in my code to get the form to work can you help me?

Thread began 8/16/2013 12:04 pm by tdhkfinkel424121 | Last modified 8/30/2013 6:10 am by tdhkfinkel424121 | 2793 views | 21 replies

Jason ByrnesWebAssist

,36,79

does not refer to line numbers in this instance.

it refers to the validations. the validation code on this page starts at line 13 and goes to line 105.

each validation has a number at the end that is used to refer to it.

line 70 is the line for validation 36:
$WAFV_Errors .= WAValidateDT(((isset($_POST["Insurance_EXP"]))?$_POST["Insurance_EXP"]:"") . "",true,"\b(1[0-2]|0[1-9])-([12]\d|3[0-1]|0[1-9])-\d{4}\b","","",false,".*","","",true,36);

and line 91 is the line for validation 79:
$WAFV_Errors .= WAValidateDT(((isset($_POST["Date"]))?$_POST["Date"]:"") . "",true,"\b(1[0-2]|0[1-9])-([12]\d|3[0-1]|0[1-9])-\d{4}\b","","",false,".*","","",true,79);


those are the 2 validations that are failing.

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