Hello!
Is there anyway to hide/show a combobox by a selection of another combobox?
Like the script "this.getField" for textfields but for combobox something like "this.getCombobox"??
I have posted my script below, its when you select "Selection3" i want a combo box to show as well?
// hide all fields to be processed by combo box
this.getField('Textfield1').display = display.hidden;
this.getField('Textfield2').display = display.hidden;
this.getField('Textfield3').display = display.hidden;
// lock the fields
this.getField('Textfield1').readonly = true;
this.getField('Textfield2').readonly = true;
this.getField('Textfield3').readonly = true;
switch (event.value) {
case 'Selection1':
this.getField('Textfield1').display = display.visible;
this.getField('Textfield1').readonly = true;
break;
case 'Selection2':
this.getField('Textfield2').display = display.visible;
this.getField('Textfield2').readonly = true;
break;
case 'Selection3':
this.getField('Textfield3').display = display.visible;
this.getField('Textfield3').readonly = true;
HERE I WANT A SCRIPT TO SHOW A COMBOBOX
break;
default:
// action for all other values
break;
}
Is it possible to do this?
Warm regards
/Rajkurt