close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Conditional Server Validations

Thread began 8/16/2011 7:02 pm by neo314 | Last modified 8/16/2011 7:02 pm by neo314 | 636 views | 0 replies |

neo314

Conditional Server Validations

The way server validations work and with the use of session values, I have found it hard to have more than one set of server validations on the same page/form.

If I add conditional code within the code block, it breaks the server behavior in DW.

It would be great if server validations could be sorted and you could choose for each validation rule an action like, fail, pass, or continue, so I could do something like:


  1. required link_text

    1. Meets Criteria => Continue Validation => Pass
    2. Fails Criteria => Continue Validation => Fail



  2. required link_url

    1. Meets Criteria => Continue Validation => Pass
    2. Fails Criteria => Continue Validation => Fail



  3. menu_only = 1

    1. Meets Criteria => Stop Validation => Pass
    2. Fails Criteria => Continue Validation => Pass



  4. required page_title

    1. Meets Criteria => Continue Validation => Pass
    2. Fails Criteria => Continue Validation => Fail



  5. required page_content

    1. Meets Criteria => Continue Validation => Pass
    2. Fails Criteria => Continue Validation => Pass



  6. etc...


Or the ability to insert an intervening condition like:


  1. RULE: required link_text

    1. Meets Criterian => Pass
    2. Fails Criteria => Fail



  2. RULE: required link_url

    1. Meets Criteria => Pass
    2. Fails Criteria => Fail



  3. CONDITION: menu_only = 1

    1. Meets Criteria => Stop Validation
    2. Fails Criteria => Continue Validation



  4. RULE: required page_title

    1. Meets Criteria => Pass
    2. Fails Criteria => Fail



  5. RULE: required page_content

    1. Meets Criteria => Pass
    2. Fails Criteria => Pass



  6. etc...



This would allow me to create flow like a single cms table where I could ensure that any record that is supposed to be a whole page has all the content, but if it is only a link and url, nor further validation is required.

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