close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

URGENT: Validation modifications not working

Thread began 9/24/2012 2:03 pm by Justin@AdventDesign | Last modified 9/25/2012 11:43 am by Jason Byrnes | 918 views | 5 replies |

Justin@AdventDesign

URGENT: Validation modifications not working

I've pulled my hair out here and the client is not happy! They have a number of customers trying to register from Canada and the Canada zips aren't validating on the SecurityAssist generated registration.php page. I originally had the zips set to allow only US 5, but later via the "WA Server Validations" I went back in and checked the US 9 and Canadian 6 options so it should accept all three, but it STILL only accepts the 5 digit US code, and rejects the US 9 and canadian codes.

Please help, I've tried searching everywhere and can't understand why my WA Server Validation changes don't seem to take effect. The site is live and I need a fix ASAP!

Page is attached.

Attached Files
registrationnew.php.zip
Sign in to reply to this post

Jason ByrnesWebAssist

Both Spry Validation and Server Validation are used on the registration page.

you will also need to edit the spry validation settings to change the allowed zip code.

In design view, click the zip code text box. Notice the blue bounding box around the text box, click that. that will trigger the spry validation settings in the properties panel to allow you to edit the settings used by spry validation for the zip code.

Sign in to reply to this post

Justin@AdventDesign

I went into the spry settings as outlined above, but I see no option for allowing 5, 9 digit and Canadian at the same time, just a choice between the three. In an effort to expedite a functional form, I've removed all validation from those blanks but I'd like to reinstate them properly if I can get this worked out.

Sign in to reply to this post

Jason ByrnesWebAssist

spry validation doesn't offer the flexibility you are looking for, the best option would be to set the validation type to none so that spry only validates if something is entered, use server side validation to handle the zip code format.

Sign in to reply to this post

Justin@AdventDesign

It is quite confusing then, as the WA Server Validation indicates checkboxes for all three. Did I miss something in the wizard that would have set up a server side validation as opposed the spry validation we're talking about?

Sign in to reply to this post

Jason ByrnesWebAssist

The wizard uses both Server and Spry validation by default.

Server validation and spry validation do not have the same abilities, to make spry validation work along side server validation when selecting the option to use all three zip code formats, you need to also edit spry validation to not enforce the zip code format.

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