close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Validation Show if behaviours not working.

Thread began 11/09/2015 7:50 am by s.joiner74419001 | Last modified 11/09/2015 11:01 am by Ray Borduin | 718 views | 2 replies |

s.joiner74419001

Validation Show if behaviours not working.

I have a large form that has had 'validation' and 'validation show if' behaviours applied which have been working until recent testing. Not sure at what point it has stopped working.

Page is attached. Any ideas?

Thanks in advance.

Attached Files
members-application.php
Sign in to reply to this post

s.joiner74419001

OK so I have just been trying removing other behaviours and scripts to test and have just found out by removing the following 'Clear Session' script:

<?php
@session_start();
if ("" == ""){
// WA_ClearSession
$clearAll = TRUE;
$clearThese = explode(",","");
if($clearAll){
foreach ($_SESSION as $key => $value){
unset($_SESSION[$key]);
}
}
else{
foreach($clearThese as $value){
unset($_SESSION[$value]);
}
}
}
?>

They then work. I am sure I have had them working with this present. i have placed this on here to clear any sessions so no-one can be logged in when completing the form. This might happen if more than one person is using the same computer who accesses our site.

Any Ideas?

Attached Files
members-application.php
Sign in to reply to this post

Ray BorduinWebAssist

Only clear the session variables related to login. The validation depends on session variables to work properly.

Specifically list only the session variables associated with login in the clear session variable server behavior and then it won't interfere with the validation.

Sign in to reply to this post
Did this help? Tips are appreciated...

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