+ Reply to Thread
I have a form and a bunch of fields. Based on values entered, I'd like to change the allowBlank on some fields from true to false. Is this possible?
Yes, just change it.
Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu Read the docs too: http://extjs.com/deploy/dev/docs/ Scope: http://extjs.com/forum/showthread.ph...642#post257642
When I do this it doesn't work: var obj = Ext.getCmp('accessCard'); obj.allowBlank = false; Initially the allowBlank is true for this field, but after a combo is selected I do the above code and was hoping the "submit" button would change to disabled, but it still shows enabled.
Never mind, it does work, i had a typo, sorry about that. Thanks for your help!
Sencha is used by over two million developers. Join the community, wherever you’d like that community to be
or Join Us