- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-01-2016 02:30 AM
Hello Experts,
How to remove --none-- option from dropdown of dependant field?
I have one field named "Stage". Values of this field are dependant on "State" field. Currently, we have --none-- value in dropdown. And I want to remove that value. But, Directly changing option of "Dropdown without --none--" is not working.
Currently, Choicelist values are not managed by client script. We have added values of "state" field on "Dependant Value" in "Stage" field choice list.
Is there any possible solution for this issue. OR do I have to remove all the values from "Dependant value" in dictionary entry of "Stage" field and Create Client Script to populate values and than change the option of "Dropdown without --none--".
Thanks in advance:-)
Regards,
Vaibhav
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-01-2016 03:50 AM
goto 3.3 Removing the -- None -- Option
the note says
Note: If the field is dependent on another field, the -- None -- option remains available.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-08-2017 07:59 AM
If you could not change the type of dropdown (when subclassing a table with the dorp down).
You could use a client script onload :
g_form.removeOption(<your field>, '');