I have one query, please help me to resolve it:
I have one drop down with two values namely temporary and 2nd one is permanent.
Now I have one requirement that, on selecting Temporary ,I need to show one textbox having name temp_txtbox and on selecting Permanent, textbox having name temp_txtbox get hide.
Please give a suitable code and explain me how can i call function on change of these drop down value.
There are two methods you can use to show and hide fields on a catalog form.
ca_fdHideFields(formId, _ids), which Hides a field in the form.
ca_fdShowFields(formId, _ids), which Shows a field in the form.
Using these two method on load using a script and on change on your dropdown you can show and hide fields base on the option selected.
The _ids is the id of the form field you want to hide or show.
see also Customize a Predefined Form - CA Service Management - 14.1 - CA Technologies Documentation
Hi caadmin - Did Sivuyile's response help answer your question? If so please mark as Correct Answer. Thanks!