close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Conditional Validation not removing spry error validation

Thread began 7/07/2011 12:31 pm by ijs174940 | Last modified 7/13/2011 2:55 pm by ijs174940 | 2276 views | 7 replies

ijs174940Beta Tester

This extension appeared to offer so much but so far I have had nothing but problems with it and as with all WA extensions there is little in the way of detailed instructions that explain what can be done and how!

If this is starting to sound like a rant you may be right but after spending over 2 days trying to make a simple contact form is it any wonder!

To address you last reply, it appears that you are saying that in order to make a form with no validation you have to set these options first before you even start the design of the form otherwise you will need to remove the spry validations by hand coding as even if the options are set not to validate it still will.

I have attached a few screen dumps to show the issues I have been having and for me a web developer of over 10 years this extension was supposed to make form authoring a breeze when in fact I could have hand coded the same form in DW in less than an hour!

All I simply want to do it make certain fields validate based on the value of other fields but apparently this is not possible with the default form made by CSS FB so I remove the validation from the element and in the custom css options, but I still get the validation messages, I then remove the spry validation code at the footer of the page eg.

**********************************
**********\/**CODE**\/*************
**********************************

<script type="text/javascript">
<!--
var Appointment_Required_Address_field_Spry = new Spry.Widget.ValidationTextarea("Appointment_Required_Address_field_Spry", "none");
var Appointment_Required_Date_of_birth_field_Spry = new Spry.Widget.ValidationTextField("Appointment_Required_Date_of_birth_field_Spry", "date", { format:'mm/dd/yyyy' });
var Appointment_Required_Email_field_Spry = new Spry.Widget.ValidationTextField("Appointment_Required_Email_field_Spry", "none", { isRequired:false });
var Appointment_Required_Do_you_have_an_exisiting_appointment_field_Spry = new Spry.Widget.ValidationSelect("Appointment_Required_Do_you_have_an_exisiting_appointment_field_Spry");
var Appointment_Required_When_field_Spry = new Spry.Widget.ValidationTextField("Appointment_Required_When_field_Spry", "date", { format:'mm/dd/yyyy' });
var Appointment_Required_Do_you_wish_to_cancel_it_field_Spry = new Spry.Widget.ValidationSelect("Appointment_Required_Do_you_wish_to_cancel_it_field_Spry");
var Appointment_Required_Do_you_want_to_make_a_new_appointment_field_Spry = new Spry.Widget.ValidationSelect("Appointment_Required_Do_you_want_to_make_a_new_appointment_field_Spry");
var Appointment_Required_What_time_of_day_is_best_for_you_field_Spry = new Spry.Widget.ValidationSelect("Appointment_Required_What_time_of_day_is_best_for_you_field_Spry");
var Appointment_Required_Remarks_field_Spry = new Spry.Widget.ValidationTextarea("Appointment_Required_Remarks_field_Spry", "none");
var Appointment_Required_group_Security_Question_Spry = new Spry.Widget.ValidationTextField("Appointment_Required_group_Security_Question_Spry", "none");
//-->
</script>
**********************************
**********/\**CODE**/\*************
**********************************

And it appears to stop validating, great! But as soon as I edit the form the extension puts it back in!! Also there are replications of JQuery datepicker functions in the header? it is as if the extension cannot recognise its own code!

Can some please explain how the validation system works in this extension and what are the pro and cons of each use, in my case how you can use conditional validations with a form created by this extension.

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