Validation with out wizard

leeburstroghm 08 Jun, 2010
I have a pretty big form, long. only a few things need validated.

I know the wizard sets up validation, when you create the form with the form wizrd. This form was created in dreamweaver and pasted into the form code. I am trying to get the validation on fields working, and I am having troubles.

I understand there is the validation tab for the form proporties, and required can be populated with the input ids/names. I am not getting any field validation. What am I missing?
right now I am only testing the verification at the bottom and First Name id="FName"
is there any documentation that covers this method? how to do this.? THANKS for the help!!

http://www.cortelimprovement1.com/index.php?option=com_content&view=article&id=65&Itemid=44
GreyHead 08 Jun, 2010
Hi leeburstroghm,

The link gives a 404 error.

You need to add the appropriate classes to your inputs and make sure that teh ChronoForms JS files are loaded.

Bob
leeburstroghm 08 Jun, 2010
Grey head, yea, thats right, its a log in only

the class would be class="required" I presume, like the others, then loading the chrono js.. this I am not familiar with.
leeburstroghm 08 Jun, 2010
You can add classes to the input items. but what about getting required validation on the {chrono_verification} ?

I can on other forms that were created with the form wizard, and then using the chrono_verification in the required option on the Validation tab of that form.. ..
leeburstroghm 08 Jun, 2010
Well, It appears that there is a on/off for the chrono js files.. oopse, I did not know that was there.

looks like these are the js files.. everything seems to be working as expected.. WHAT A pain looking around for that was.. Its working as expected now.. NICE!
leeburstroghm 08 Jun, 2010
What about required fields at the top of the form. and then moving the page to that location where the field did not validate. When the form is filled out, and is at the bottom, if a filed at the top is in-valid, how can we scroll the form to that location.?
GreyHead 10 Jun, 2010
Hi leeburghstrom,

Possibly you could add some custom JavaScript to change the focus to the first field with an error. I don't think that this is a feature of LiveValidation.

Bob
This topic is locked and no more replies can be posted.