Disable Fields
-
Hi Julien
I’m hoping you can help me with this; I’m trying to disable the Product Type select tag/field so no one can change it.
The reason I am doing this is that I am using URL Parameters to pre-select the Product Type and I don’t want anyone to be able to change it if they’ve come through a particular URL.
I’ve tried almost everything from adding code to the custom fields plugin to even creating a custom function myself. I just cannot seem to get it to work. I’m very competent when it comes to coding something like this; I’ve tried PHP, JQUERY and I just can’t figure this out.
All I’m looking to do is add a ‘disabled’ attribute to the select tag in question.
Any help would be superb!
Thanks in advance
- The topic ‘Disable Fields’ is closed to new replies.