Disable form fields if checkbox is checked
I found a lot of example that allow disabling of form elements on checkbox click, but I actually can have a page loaded with a checkbox selected.
I suppose I need some function that will check if the checkbox (let's call it chBox) checked onload and if yes -- disable the fields. If not leave them active. Also I'll need to add onchange statement to my checkbox to enable/disable form elements.
JS is a bit confusing since i'm more familiar with server-side coding...
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)