Using custom validation scripts to change visibility of other form elements
I have hit a block!..All I wish for is: if "User" is selected in Dropdown15a, "Dropdown15b" and "Exposurevolumequantity" are hidden and any values (Exposurevolumequantity) or previous selections (Dropdown15b) expunged!
The script is placed within the custom validation script of "Dropdown15a"
Dropdown15a has four options and I Have assigned Export values to the dropdown choices identified in the ()
" " (0), "Delivered form"(0), "Pre-measured"(0), "User"(1).
The " " is the initial drop down state i.e. empty(ish)
Other than 'Check spelling' no other option radios are selected.
this.getField("Dropdown15b").display = (this.getfield("Dropdown15a").valueAsString == "User") ? display.hidden : display.visible;
this.getField("Exposurevolumequantity").display = (this.getfield("Dropdown15a").valueAsString == "User") ? display.hidden : display.visible;
