-
8 Oct 2011 10:06 PM #11
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
-
9 Oct 2011 8:26 AM #12
Misleading config names... kinda...
Misleading config names... kinda...
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?twitter.com/epiphanydigital #sencha #drupal #jquery #craftbeer #guitar #photography
Similar Threads
-
Best practice: 1 form with dynamic content or submit 2 forms at once?
By gossi74 in forum Ext 2.x: Help & DiscussionReplies: 1Last Post: 30 Nov 2011, 5:58 PM -
Form validation with form made up of multiple dynamically added tabs
By Mat Malone in forum Ext 2.x: Help & DiscussionReplies: 4Last Post: 29 Aug 2008, 7:57 AM -
Server-side form-validation: How to load errors into a form?
By wuschba in forum Ext 2.x: Help & DiscussionReplies: 1Last Post: 9 Jun 2008, 8:05 AM


Reply With Quote