1. #11
    Sencha User
    Join Date
    Sep 2011
    Posts
    3
    Vote Rating
    0
    wenqz80 is on a distinguished road

      0  

    Default


    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

  2. #12
    Touch Premium Member
    Join Date
    May 2011
    Location
    Norfolk & DC
    Posts
    100
    Vote Rating
    5
    epiphanydigital is on a distinguished road

      0  

    Default 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

  3. #13
    Sencha User
    Join Date
    Sep 2014
    Posts
    15
    Vote Rating
    -5
    MrFox can only hope to improve

      0  

    Default


    This is not practical at all. Why can't we just add a class to the textfield that shows a red line?

Similar Threads

  1. Best practice: 1 form with dynamic content or submit 2 forms at once?
    By gossi74 in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 30 Nov 2011, 5:58 PM
  2. Form validation with form made up of multiple dynamically added tabs
    By Mat Malone in forum Ext 2.x: Help & Discussion
    Replies: 4
    Last Post: 29 Aug 2008, 7:57 AM
  3. Server-side form-validation: How to load errors into a form?
    By wuschba in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 9 Jun 2008, 8:05 AM

Thread Participants: 9