How to set default value of selectbox to none without showing none as in option in the drop down box
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-01-2022 11:27 AM
Hello! I'm having a little bit of an issue and was hoping someone could shed some light. I have a select box with 3 variables as the choices. When the page loads, I would like for the value of the select box to be none or blank. I attempted to do this by setting the default value to none, but this presents the problem of none being added to the selectable choices. Is there any way to do this without adding none as a choice to the select box? Is it possible to create a label that shows until a choice is selected? Thank you in advance!
- Labels:
-
Service Catalog
-
Service Desk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-01-2022 04:41 PM
The solution to that is making the field mandatory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-01-2025 07:22 AM
Hi @Samad Ahmad,
we had a similar situation when we needed to force the user to do a selection but not having one of the actual Question choices preselected.
This can be solved by setting "Include none" to TRUE and making the field mandatory.
Doing this, --None-- will be the default selection but changing the selection to any of the defined Question Choices will always be mandatory.