validate entire panel with remote validation

  1. #1

    validate entire panel with remote validation

    Hi,


    I know how to create my own VType in order to validate some ComboBox or NumberField.

    What I'm trying to do now is to validate the entire panel (which consist of two comboboxes and one NumberField)

    so that when any of them change a remote validation trigger and if the validation fail the entire panel is

    marked as invalid (the red line for example).


    Can you direct me to some example dealing with that scenario?


    Thanks
  2. #2
    Change your panel to formpanel.

    Then you can use formpanel.isValid() to check validity on submit (button press). This will add red lines u want to all items in the form

    Start here: https://examples4.ext.net/#/Form/FormPanel/Validation/
    /Z
  3. #3

    thanks a lot

    great thanks a lot

Similar Threads

  1. Replies: 7
    Last Post: Jul 11, 2014, 3:20 PM
  2. 2.3 Remote Validation issue
    By devil in forum 2.x Help
    Replies: 4
    Last Post: Oct 23, 2013, 2:19 AM
  3. Remote Validation using RowEditor
    By mait_k in forum 1.x Help
    Replies: 1
    Last Post: Dec 20, 2011, 4:24 PM
  4. Replies: 3
    Last Post: Jul 11, 2011, 9:43 AM
  5. Remote Validation
    By olimpia in forum 1.x Help
    Replies: 0
    Last Post: Jun 12, 2009, 7:39 PM

Tags for this Thread

Posting Permissions