Hi,
yes, it is possible, you can do it!
I created one example for you, as same as you wanted!
Please download->unzip->and install it (BF->Configuration->Package Installer->select this xml file->Install Package).
Please go to Advanced of your form and insert this code :
turn on element mydummy if yourdummy is something
Then in Advanced of an element, and I action script select type 'Custom' and Action 'Changes', insert this code:
function ff_nameofelement_action(element, action)
{
switch (action) {
case 'change':
opts = element.options;
var selected = element.value;
var t = ff_getElementByName('nameoftextfield').value;
if(selected == "other"){
bfToggleFields('on','element','nameoftextfield',bfDeactivateField);
}else{
bfToggleFields('off','element','nameoftextfield',bfDeactivateField);
ff_getElementByName('nameoftextfield').value="";
}
break;
default:;
} // switch
} // ff_select_action
Then go to on textelement, and in Advanced element of the element, turn off element and in section action script select type 'Custom' and Action 'Changes', and insert this code:
function ff_nameoftextelement_action(element, action)
{
switch (action) {
case 'change':
opts=ff_getElementByName('nameofselectlist').options;
var t=element.value;
for (i=0; opts.length; i++ ){
if(opts[i].value == t){
element.value="Insert a new value";//insert text which will be displayed when user insert same value as of list
}
}
break;
default:;
} // switch
} // ff_a_action
I hope I explained it well, if you need more help, let me know!
Regards,
Mirko