Show/Hide text field based on a number in another field
I need to be able to show/hide Text and Checkbox fields based on the amount that is entered into a field. I also have another field that changes the text in the field based on what is entered into that amount field. I could also use that field to show/hide the boxes.
The amount is enter into the "SHARE_BALANCE" field. Then I have a text field called "Microfilm" that has this in the Custom Calculation Script:
var score = this.getField("SHARE_BALANCE").value;
if(score > 249.99) event.value = "Over $250 send to RSS & Microfilm";
else if (score < 250.00) event.value= "Under $250 send to Microfilm Only";
If the SHARE_BALANCE is >249.99 then I need to hide checkbox field "DL" and text field "Copy of DL". BUT if the balance is $250.00 or more then I need to show "DL" and "Copy of CL" fields.
