close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Validation show if

Thread began 11/27/2009 8:54 pm by jebrandon343719 | Last modified 11/30/2009 7:06 pm by Dani Chankhour | 2789 views | 6 replies |

jebrandon343719

Validation show if

I have the new Form builder, however, I wish to apply a 'validation show if' error message to a form field not built by the form builder. I had previously been able to use validation toolkit. Now I get an error
" Server behaviou was not applied. Could not find a valid XML file.............."

How am I supposed to add the code????

Sign in to reply to this post

Dani Chankhour

Could you attach the page that you are trying to apply the Show IF server Behavior to.

I ran a quick test and i was able to add the Show If Server Behavior to a form element not generated to by CSS Form Builder.

Sign in to reply to this post

jebrandon343719

The file

Hi, Thanks for the help. This is the file. I am needing to ensure some data is entered on this page. I wish to check Name email and at least one order item.

You can view the page live at myorder.php

Attached Files
myorder.zip
Sign in to reply to this post

Dani Chankhour

Thanks for the page. I was able to add the Show If Server behavior to your name field. the code that gets added is:

<?php
if (ValidatedField('myorder_583','myorder_583')) {
if ((strpos((",".ValidatedField("myorder_583","myorder_583").","), "," . "1" . ",") !== false || "1" == "")) {
if (!(false)) {
?>
please enter your name
<?php //WAFV_Conditional myorder.php myorder_583(1:)
}
}
}?>


You can just replace "please enter your name" with the code above.

Could you please send me a screen shot of the steps you are taking or a screen shot of the error that you are getting to further assist you.

Sign in to reply to this post

jebrandon343719

By adding a server behavior

Hi,

Did you add this by using a '+' server behavior? - See my screen shots - I hope you can view it okay!!!

Sign in to reply to this post

jebrandon343719

I just inserted the code you gave me and tested live - it didnt work????

Sign in to reply to this post

Dani Chankhour

I have opened a support ticket to further assist you, please respond to your ticket at:

supporthistory.php

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