Sugar 5.0 on Linux.
Dropdown lists in Basic Search and Advanced Search are displayed as multiple selection.
How can I change a field to be single selection (i.e. multiple=false) and size=1?
Thanks for any help!!
Sugar 5.0 on Linux.
Dropdown lists in Basic Search and Advanced Search are displayed as multiple selection.
How can I change a field to be single selection (i.e. multiple=false) and size=1?
Thanks for any help!!
Hi,Originally Posted by ywingate
what do you mean by "size=1"?
What do you think the cookie monster eats ?
size=1 is HTML language.
Developers go here
Businesses go there (Dutch)
Modules:
SugarDev.net Developer Tools | Config | Dutch Language Pack
"Nothing gets fixed unless there is a bug"
I wonder what this has to do with converting a multiselect to a text field.Originally Posted by SugarDev.net
What do you think the cookie monster eats ?
Hey...I have the same problem. When I put a dropdown to a basic search layout it is displayed as Multiple Select.
I want to be a dropdown.
Is it a way to do that??
I found it out...![]()
Hi ywingate
You can copy the include/SugarFields/FIelds/Enum to the include/SugarFields/FIelds/SingleEnum.
Modify the Field class to reflect its own name and no more the Enum class, and modify the path for their templates.
In the SearchForm.tpl remove the multiple attribute.
In the searchfieldsdefs.php set the 'type' => 'SingleEnum'
Cheers
André Lopes
DevToolKit / Project of the Month - June 2009
Lampada Global Services- Open Source Solutions
Avenida Ipiranga, 318
Bloco B - CJ 1602
São Paulo, SP 01046-010
Brazil
Office: +55 11 3237-3110
Mobile: +55 11 7636-5859
e-mail: andre@lampadaglobal.com
Lampada Global delivers offshore software development and support services to customers around the world.
Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.
I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks