This content has been marked as final. Show 3 replies
Could you bind the component's visible property to Validator.enabled?
oh, i didn't realize i could do that. I acutally already found a way to do it, if a whole bunch of if statments :) mhehe, but it works. i'lll try to do it your way :)
another question. It seems that in my functions if i reference a field which is located on a different tab, it does not recoglize it, and i get a runtime error, unless i click on that tab, before clicking on the "validate" button.
does anyone know why it's not recognizing it? do i need to somehow declare that field in my init()?
Accordions and TabNavigator use deferred instantiation, where they do not create the tab until the user first goes to it. If you want to access data in a tab before the user first goes to it, set creationPolicy to all so that it creates all the tabs at startup. The penalty is longer startup time.
Search the doc for creationPolicy for more information.