close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Validation message not showing

Thread began 11/13/2012 8:58 am by john70964 | Last modified 11/13/2012 2:48 pm by john70964 | 736 views | 4 replies |

john70964

Validation message not showing

I have a page which has 15 Validation boxes working OK

I decided to add one more.
All validations work OK except this last one I am trying to apply.
For some reason this last validation will not show the error message.
The code for this is
<?php
if (ValidatedField('boatsInsert_000','boatsInsert_000')) {
if ((strpos((",".ValidatedField("boatsInsert_000","boatsInsert_000").","), "," . "16" . ",") !== false || "16" == "")) {
if (!(false)) {
?>
Measure Unit Required
<?php //WAFV_Conditional boats_Insert.php boatsInsert_000(16:)
}
}
}?>

Can anyone see where this may be gong wrong please?

Many Thanks

John

Sign in to reply to this post

Jason ByrnesWebAssist

no way to tell why the message would not show without seeing the validation code that should trigger it.

please send a copy of the full page in a zip archive.

Sign in to reply to this post

john70964

Sorry I thought the above code was the validation code.

I am attaching the zip as suggested.

Thank you

John

Sign in to reply to this post

Jason ByrnesWebAssist

the last validation was added to a seperate server validation behaivor instance.

instead of adding a new server validation instance for the new validation, you should edit the existing one and add it the list of validations to perform.

open the server behaviors panel (window -> Server behaviors)

you will see 2 instances of the server validation behavior. delete the second one, then edit the first one (double click it) to add the new validation.

Sign in to reply to this post

john70964

I have made a note That there must be one only WA Server Validation per file.

Many thanks

John

Sign in to reply to this post

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