![]() |
|
|
Welcome to the { mindfrost82.com } forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
Help with this simple script please
I have four exclusive Checkboxs across(vcheckbox) and One Checkbox
Down(hcheckbox1). They work fine but when you uncheck VAR T1 is should return the value in c1 to Zero it doesn't. It remains with the last value returned. This script lives in textsub1. Is there something I can add in the script for a null value in the checkbox for when it is unchecked? var T1 = this.getField("hcheckbox1") var T2 = this.getField("vcheckbox"); var c1 = this.getField("textsub1"); { if (T2.value == 20 & T1.value == 1) (c1.value = 1); else if (T2.value == 40 & T1.value == 1) (c1.value = 2); else if (T2.value == 60 & T1.value == 1) (c1.value = 3); else if (T2.value == 80 & T1.value == 1) (c1.value = 4); } |
![]() |
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|