How to Change default Label "Please Select:" in DropDown Menu?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

How to Change default Label "Please Select:" in DropDown Menu?

vikash kumar
We are using multiple dropdown menu as well as dynamic data dropdown in a form.

Instead of showing default "Please select:" in dropdown menu and
Instead of showing default empty value in dynamic data dropdown.

Can we change with some other value such as "Year" / "Month" or "Please Select Card Type" etc.

When i searched the solutions for this .  By creating new xbl file we can change the default value in dropdown .  

http://stackoverflow.com/questions/13456007/custom-control-dropdown-values-from-xml-file




Is there any other approch to change default Label.
Reply | Threaded
Open this post in threaded view
|

Re: How to Change default Label "Please Select:" in DropDown Menu?

Erik Bruchez
Administrator
The only way currently is to make a copy of dropdown-select1.xbl which provides a different message:

    https://github.com/orbeon/orbeon-forms/blob/master/src/resources-packaged/xbl/orbeon/dropdown-select1/dropdown-select1.xbl

-Erik