The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Need help on validation script for two single select box(drop down)

Srikanth Gogineni
August 9, 2018

Hi ,

I have two drop down fields called field A and field B

Field A options

1

2

3

Field B options

one 

two 

three

Now the requirement is when i select field A with option 1 then the Field B should be visible with the value as "one"

Field B should not be displayed when i select Field A with option 2

when I select field A with option 3 then the he Field B should be visible with the value as "three".

 

Can someone please help on the code. Thanks in Advance.

 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Ryan Fish
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.
August 9, 2018

@Srikanth Gogineni for simplicity, why not just use field A by itself and forgo using field B altogether. The values:

  • "1 one"
  • "2"
  • "3 three"
Srikanth Gogineni
August 10, 2018

i just gave an example ...the second field values are actually  different ..

Ryan Fish
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.
August 10, 2018
TAGS
AUG Leaders

Atlassian Community Events