Forums

Form Code Validation

anxanet 21 Oct, 2010
I created a form HTML with Dreamweaver and I inserted the code into ChronoForms and working properly.

What I want to know is how to validate data as do the forms created with the wizard (jvalidation I think ...), because although I created validation parameters in each field with Dreamweaver (onBlur), but I can send form with blank data.

I have to say that I removed from my form tags "form", "post", etc, I have simply done the design and added the fields.
GreyHead 21 Oct, 2010
Hi anxanet,

You can add the validation either (a) by adding class attributes like class='required' to the input tags in the Form HTML; or (b) by adding the input names to the boxes on the form Validation tab. Both tabs are in the Form Editor which you can open by clicking the Title link in the Forms Manager.

I prefer method (a) as it give me better control but either should work OK.

You could probably also add the Dreamweaver validation but presumably there is a script file need to make it run correctly.

Bob
anxanet 21 Oct, 2010
Great !

Easier than I thought. We sincerely appreciate your help Bob ! 😀
This topic is locked and no more replies can be posted.