Condition:
You can define a validation condition.
The condition can be a valid Javascript code or a custon function but must return true or false.
The extension verify the result of this condition and in case of true continues to test the subsequent validations and in case of false stop and set tha validation of the field as valid.
For example if you must validate a field only if it is visible you can define a function that check the field visibility and return true if visible and false if not visible, so you can condition the validation and validate the field only if it is visible.
Required:
This option require the user check the checkbox to validate the form
Custom Function:
With this feature you can create your own Javascript validation function and pass the name to our extension. The extension will eval your function and return the value your function return. The name of your function can contain only letter and number. The extension will call your function and pass the name of the text fied.
This is an example:
<script language=javascript>
function yourOwnFunction(name){
//Here your validation code
//name is the name of the field you must validate
//the name is passed from out extension
//Here your validation code
}
</script>
This function must return a true or a false
This is what you must write in the fied in the extension panel:
Error message:
The message display if the field is not validated