[SOLVED] PHPRunner 10.91 - some javascript code not working for me. |
3/12/2025 20:12:33 | |
PHPRunner General questions | ||
D
DealerModules authorDevClub member
I am creating a dynamic form. I have put the following javascript code in the JavaScript Onload Event: // Make sure the page is fully loaded before running the script // List of dynamic fields to hide/show. There are additional fields that apply to all cases so I am not make changes to those, just the following dynamic fields. // If the value of form_type is 'I.T. SUPPORT', 'TERMINATION', or 'NEW HIRE', hide all fields Perhaps the javascript above does not work within phprunner because I am not using a PHPRunner function that is needed? Anyone's help is greatly appreciated. Thanks in advance. |
||
C
|
copper21 3/13/2025 |
The online manual will help you more with this, but here is the jist of what you can do: //Create form_type variable //Create hide/show field variables //Get value selected |
|
D
|
DealerModules authorDevClub member 3/14/2025 |
I appreciate your time in reviewing my code. The code that you presented worked perfectly! |
|