Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Behaviour plugin: Show/Hide customfield in Create screen depending on the value of a cascading select list

Begoña Bonet
Contributor
November 26, 2015

In creation screen I need to show or hide a customfield depending on the value selected by user in a cascading select list.

 

I've included this script but it doesn't works:

if(getActionName() == "Create" && getFieldByName("Área/Subárea").getValue()=="Proyectos,Proyectos menores"){

      getFieldByName("Es menor").setHidden(true);

    }

if(getActionName() == "Create" && getFieldByName("Área/Subárea").getValue()!="Proyectos,Proyectos menores"){

      getFieldByName("Es menor").setHidden(false);

    }      

What am I doing wrong?

 

Thanks in advance

 

2 answers

0 votes
Deleted user
October 12, 2017

I know old post but is there a solution how to achieve this?

0 votes
Anand Unadkat
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
December 3, 2013

Why don't you create a filter that sorts the ordering by fix version i.e. ASC or DESC?

Suggest an answer

Log in or Sign up to answer