Currently on my page [PHP5] I have a checkbox & a input button (among other things), the button text now is hardcoded to "Next" but I need this to change based on the status of the Checkbox (cBusAcc). For example, when cBusAcc is not checked the button should be "Create", when it is checked the button should be "Next".
And this change should occur without the user needing to press on the button, just check/uncheck should change the button test...
See the code I have so far below...
...How can I accomplish this (I've got no clue...)
Any help or hints would be very much appreciated.
Thanks,
And this change should occur without the user needing to press on the button, just check/uncheck should change the button test...
See the code I have so far below...
Code:
... <input type="checkbox" name="cBusAcc" id="cBusAcc" /> <input name="signup" id="signup" type="submit" value="Next" />
Any help or hints would be very much appreciated.
Thanks,
Comment