Hi team,
Please help me with the steps on how to add a dependent drop down fields. example: Based on the category selected, I should be able to display the request type field.
Regards,
Nirmala N
Hi Nirmala,
You can use behaviour plugin for your requirement. Following is the sample code:
FormField fieldFF = getFieldByName("YOUR CUSTOM FIELD NAME HERE"); String fieldValue = fieldFF.getValue(); if("FIELD VALUE".equals(fieldValue)){ FormField fieldToHideFF = getFieldByName("YOUR FIELD NAME HERE"); fieldToHideFF.setHidden(true); }
Go to Customer Field-- Add List with "Select List (Casecading)", enter the valus for Parent field and then add value for the dependent fields
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.
Register NowOnline forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.