- 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
‎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
‎03-01-2016 03:59 AM
Hi Namrata,
Thanks. This clears the scenario for me. I guess i am left with only option of creating client script.
Regards,
Vaibhav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-01-2016 03:54 AM
MAke a client script will will add or remove value from the dependent field.
HEre is an article which will help to achieve your query : Removing or Disabling Choice List Options - ServiceNow Guru
Kind regards,
ZA
Do not feel shy to mark correct or helpful answer if it helps or is correct
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-01-2016 04:10 AM
Hi Baivab,
1.1st select "Drop down without none " option for state field.Give a default value there.
2.Then go to the dictionary of stage field. Select "Drop down without none " option and Give a default value which is dependent on default value of state field.
In this way you can remove --none -- option from stage field .
Thanks,
Mihir

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-24-2020 01:23 AM
It doesnot work that way Mihir.