I have problem with data validation.
I understand there are the Javascript instrucitons but I am confiserd about the VALIDATION tab in the settings.
Is i put the field details in here and activate validation, this does not validate my field?
Do I still have to put the script etc in the html ... if so then what is the function of the VALIDATION tab.
Thanks
Matt
haiii
I have a form that we can add, update and retrieve the data.
I use disabled function to control my form using select option. for example when user select "active", the form will be enable and where user select "not_active" the form will be disbled. the problem is when i select "not_active" the data in the form will become a null after upadetion. it like diabled will erassed my data in the database. i dont what it problem? can some one tell me. i use ibm websphere(html)and oracle(sql).
Hi Matt,
Putting the field names in the Validation tab and setting validation to 'On' should validate your fields. No other scripts are required.
If this isn't working then there is most likely either a JavaScript conflict with something else on the page, or a problem with your form code.
Is the form on-line so I can take a look?
Bob
Hi Bacardo,
Please remove the spaces between the fieldnames in the 'required' list. So field_1,field_2,... not field_1, field_2,
Bob
Bob, Thanks for your quick reply!:)🙂
I've deleted the spaces between fields, but no success.
None of the validations are archieved.
What do you suggest? Is necessary any other code plus the validation enabled and no spaces?
:( I don't know where the problem is, it's dissapoint me.
Thanks again!
Bacardo
in a Foggy Buenos Aires.
Hi Barcado,
The HTML looks good to me. But the validation classes aren't being added into the input tags.
I don't see why but I wonder if the css attribute selectors like input[type="text"] are causing the problem. They are pretty rare and might give the validation code indigestion.
Bob