Home Analyst Portal

Display a custom Field based on the selection of another field

Stephen_MarksStephen_Marks Customer IT Monkey ✭

I have created an extension of my CRs to include a new field. I have successfully setup the field to display on my CR form by updating the workitem js file for CRs.

However, I want it to only display when a value is selected in another field. Does anyone have any experience with this?

Answers

  • Justin_WorkmanJustin_Workman Cireson Support Super IT Monkey ✭✭✭✭✭
    edited October 2020

    @Stephen_Marks - I have attached some js that may help. There's a fieldToWatch and a fieldToShowOrHide at the top of the file, set those appropriately to the field names. You can either load this in with loadScript(which I recommend), or drop the entire contents straight into custom.js.

  • Stephen_MarksStephen_Marks Customer IT Monkey ✭

    Thanks Justin Im going through this code

Sign In or Register to comment.