tags:

views:

18

answers:

1

Hi folks,

I have an ExtJS combobox, which is a required field, but I don't want the required field error message to show up until I try to submit the form. Right now, it is happening on keyup it seems like. I have set validateOnBlur to false, but it still shows up. I am specifying a vtype though, 'required", and it still seems to firing the validate event on the control and therefore the vtype gets called. I don't want the validate to fire until I manually call it. Any help? Here is some code:

var ddl = new TaskCombo({
    id: 'ddl' ,
    fieldLabel: 'test',
    tabIndex: 1,
    selectOnFocus: true,
    autoWidth: true,
    disabled: true,
    forceSelection: true,
    validateOnBlur:false,
    vtype: 'required',
    vtypeText:'This is a required field test',
    msgTarget: 'under',
    store: new TestStore});
A: 

Try adding validationEvent:false (docs).

bmoeskau
Sorry, I literally found this after I posted. Thanks a lot though, you have been a huge help so far with all of my questions.
extnoob