PDA

View Full Version : Validation Clears Fields


jason363662
05-30-2009, 04:58 PM
Two questions:

1. Is there any training available on how to use Validation Toolkit? I don't see any documentation, but maybe I am just missing it.

2. When a form is validated (server side) and a user has entered invalid data I have it come back to the same page with a revealed layer showing where the error is. The problem is all of the fields in the form are cleared, meaning the user has to start over from scratch. I am asking them to do a lot of writing on the form and they are going to give up if they do all that work only to have it lost because they didn't enter a properly formated email.

Thanks!

AlaskaTom
05-30-2009, 05:29 PM
I dont know about available training, but the solution to the dissapearing data is this:
On each form field, click the field, then in the property inspector, click the lightning bolt next to initial value, and then in the menu, choose validated entries, and select the element that corresponds to the field you clicked.

Unfortunately you have to do that manually to each form field.

Hope that helps.

Tom

Ray Borduin
06-01-2009, 07:32 AM
We are in the final stages of developing an extension that will help to build forms and do all of these things for you automatically. It will create CSS based forms and automatically add spry and server validations as well as setting the correct default values so that it all works together.

The new form builder product will replace validation toolkit and include all existing validation toolkit functionality as well as the form building wizard. We hope this will make validation tookit functionality much quicker and easier to use. Currently the help documentation is the only source for tutorail like content on the use of validation toolkit.