1. #1
    Sencha User
    Join Date
    Apr 2009
    Posts
    24
    Vote Rating
    0
    raydeen is on a distinguished road

      0  

    Question Turn off validation message when form is "Reset"

    Turn off validation message when form is "Reset"


    A selection on a grid populates form input fields on a page. I have a "Reset" button that when clicked, deselects an item on the grid and clears the populated input fields. But when I try replacing the values on the input field with a null value, extjs automatically turns on the validation and there is a "This field is required" message. How can I disable that validation check when the user clicks "Reset"?
    Tony

  2. #2
    Sencha User
    Join Date
    Apr 2009
    Posts
    24
    Vote Rating
    0
    raydeen is on a distinguished road

      0  

    Thumbs up


    I solved it with a simple reset:

    this.getForm().reset();


    Tony

Similar Threads

  1. Help, I need to "reset"/ "clear" BeanModel bound to form
    By chalu in forum Ext GWT: Discussion
    Replies: 2
    Last Post: 28 Jul 2010, 10:56 AM
  2. FormPanel dont hide the "validation message"
    By fother in forum Ext GWT: Bugs (2.x)
    Replies: 0
    Last Post: 28 Jun 2009, 7:14 AM
  3. FormPanel dont hide the "validation message"
    By fother in forum Ext GWT: Discussion
    Replies: 1
    Last Post: 19 Jun 2009, 5:26 AM
  4. Replies: 9
    Last Post: 20 Jun 2007, 7:36 PM
  5. Form - Fix Msg Width (validation message "under")
    By webersouza in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 16 Mar 2007, 5:57 AM

Tags for this Thread