Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 66447

Re: Javascript to display output if multiple dropdowns are selected

$
0
0

Let's say the first drop-down field is called "Answer1", and you have a text field called "Result1". Use the following code as the custom calculation script for the latter:

 

event.value = (this.getField("Answer1").value=="Comply") ? "Correct" : "Incorrect";

Viewing all articles
Browse latest Browse all 66447

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>