Results 1 to 2 of 2

Thread: beforeadd event on a form

  1. #1
    Sencha User
    Join Date
    Jun 2014
    Posts
    6
    Vote Rating
    0
      0  

    Default beforeadd event on a form

    I am looking to use the beforeadd event on a form .
    However what i have seen is that it fires on only while the highest level elements are being added .

    So ::
    If I have a form that has three containers , which have two items each , which again are containers and each of these containers have elements [ textField and combo ] , then the beforeadd is run only thrice .

    If it were to run recursively , applying something to all the elements [ Or elements with a certain property ] within the form would be easier .

  2. #2
    Sencha - Support Team
    Join Date
    Feb 2013
    Location
    California
    Posts
    9,509
    Vote Rating
    256
      0  

    Default

    I'm not sure that this kind of event capturing is supported by all browsers. Here's an older thread about it:
    http://www.sencha.com/forum/showthread.php?35899


    Join me at SenchaCon 2016!

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •