I need your assistance in creating a JavaScript script that dynamically shows or hides specific option values in a Choice field based on certain conditions in the New and Edit forms.
Example:
I want to hide the option values "2" and "3" in the Choice field to prevent users from selecting them. However, these options should be enabled under certain conditions.
If you need further assistance, let me know
(Apply for the newform)
When opening EditForm - you must think about loading the value back to the dropdown. Also in the DispForm, you should only show the Choice field with the value.