I would like to disable certain radio or checkbox options, when creating forms. In HTML it is: disabled="disabled".
For example, in a list of options I would like to disable some but still have them visible on the form.
I would like to disable certain radio or checkbox options, when creating forms. In HTML it is: disabled="disabled".
For example, in a list of options I would like to disable some but still have them visible on the form.
You would have to use JQuery to do this, as Gravity Forms doesn't allow for disabled checkbox options currently. A quick Google search found this that might be of help to you: http://stackoverflow.com/questions/2330209/jquery-checkbox-enable-disable
It has to be something simple that a client can use, not JQuery. So if there is
• option 1
• option 2
• option 3
Once option 2 is sold, I want the client to be able to be able to change it to disabled.
Can you think of a way to do something like this with Gravity Forms?
Perhaps this might work for you:
http://gravitywiz.com/better-inventory-with-gravity-forms/
IS there a way to set a class for an individual form option?
For example, change option 2 to have a CSS class of "disabled"?
Again, as I said, there is no way to change a single element of a radio list, checkbox or dropdown to include disabled.
But, is there a way to add a CSS class to a single element? Then I would change the color to light grey in CSS.
Again, this would require a developers touch each time, and would not be controllable from Gravity Forms' admin, and it would require some CSS3 hacks to even pull off using selectors and knowing which item it is in a list (because you could only apply a CSS class to the parent element, not to the individual checkbox item)