Great thanks, the model make my life easier. However, what will be the validation type that used to check the value of a Checkboxfield? For example, a checkbox for user to agree to term and con during registration.
Can you please advise
Great thanks, the model make my life easier. However, what will be the validation type that used to check the value of a Checkboxfield? For example, a checkbox for user to agree to term and con during registration.
Can you please advise
wenqz80, I think what you're looking for is "checked".
If you have "value" set to true and "checked" is checked by the user, the return value is true for "checked".
If you have "value" set to false and "checked" is checked by the user, the return value is false for "checked".
To me, since it's all boolean anyway, I would have preferred to have seen on one option, that being "value".
Does that help?
This is not practical at all. Why can't we just add a class to the textfield that shows a red line?