- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2020 11:43 AM
Hi All,
I am using a Select box variable on a catalog under which there are several options. I know I can use None option on top however I want to use -Please Select-option on top. How can I do that please help.
Thanks in Advance!
Regards,
Jitendra Singh
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2020 05:40 AM
function onLoad() {
g_form.addOption('variablename', '', '--Please Select--', 0);
g_form.setValue('variablename','--Please Select --');
}
change the variable name with your variable name.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2020 11:50 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2020 11:53 AM
you can create onLoad client script with something like below
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2020 12:38 PM
Hi,
Go to maintain item-->open particular item-->Go to Variable-->Select "Select Box"-->Select New Question Choices-->Add -Please Select- Give order less than Audio Issue order number(If Audio Issue contain order no as 100 then give order for -Please Select- is 50.
If it helps then please mark my answer Correct and Helpful.
Vishakha
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2020 05:40 AM
function onLoad() {
g_form.addOption('variablename', '', '--Please Select--', 0);
g_form.setValue('variablename','--Please Select --');
}
change the variable name with your variable name.