Switching allowBlank based on selections
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?
Sencha - Ext JS Dev Team
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!