Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X
Hi,
I have a drop down with a list of materials like 'Torque' , 'Barcode print' and 'others'. My requirement is, only on selection of torque my label and textbox has to be visible otherwise it has to be invisible. So i wrote a java script for this and gave selected row item from drop down as input to JS and triggered JS using selected row changed event of combo . But I am facing a difficulty where on choosing any item from combo the text box and label is getting visible and not becoming invisible.
How can I achieve this?
JS:
if (name == 'Torque' && name != null && name != 'Visual WI' && name != 'Error Proofing' && name !=
'Data Collection' && name != 'Barcode Print' && name != 'Part Pick' && name != 'Others')
{
result = true;
}
else
{
result = false;
}
Thanks,
V Shalini.
Try this onto the expression widget ( boolean result):
(name=='Torque')
If the response provided by Carles answered your question, please mark it as the Accepted Solution for the benefit of others who may have the same question.
Regards.
--Sharon