I have attached a html form to a tab and am trying to validate a fields before saving.
I have added validate=“rule”
I have added onclick=“return form.validate()”
Tried attaching events to the form then I tried attaching event to the dp, but nothing works, marks all fields as invalid and stop the form submit or it ignores the validation rule completely
And then there this sample code http://www.dhtmlx.com/docs/products/dhtmlxForm/samples/05_data/04_save_validation.html#code doesnt appear to work!