Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.
Forum rules: Please search to see if a question has already asked before creating a new topic. Please don't post the same question in multiple forums.
User avatar
By amosbatto
#822006
I just tried that code in PM 3.3.0 (manual install in Debian 9.5) with Firefox 52 and Chrome 68 and it works. I suspect that either you misspelled the ID of the dropdown box or you misspelled the value (not the label) of the option that you want to disable.

Import this form to test it:
(1.38 KiB) Downloaded 249 times


PS: Here is another way to modify the list of options in a dropdown box:
https://www.pmusers.com/index.php/Options_list

Hello. For rental housing, there are software solu[…]

Experience heightened pleasure with Cenforce 100 M[…]

Get an instant solution to move emails to MBOX for[…]

Most Demanding OST to PST Converter

The most demanding OST to PST Converter is TrijaT[…]