How can I widen the bool field type in the search form?
How can I widen the bool field type in the search form?
This is a bit of an odd request. Booleans can either be true or false, 1 or 0. And nothing else.
How is the bool field displayed now and what would you like to have instead?
The specific field is the account select field in the opportunities search form. I have several accounts that start of with the same name.
That's not a bool type of field, it's a varchar (text) field. On text fields, size matters.
this cannot be done via the interface, it has to be done programmatically in the module's editviewdefs.php file. Copy this file to ./custom/modules/<module>/metadata/editviewdefs.php, locate the 'account' field and add:
Of course this can be more then 40.PHP Code:'displayParams' => array("size" => "40")
Enable developer mode before changing this, re-enable if all is OK. If you're having trouble please post your editviewdefs.php file.
Developers go here
Businesses go there (Dutch)
Modules:
SugarDev.net Developer Tools | Config | Dutch Language Pack
"Nothing gets fixed unless there is a bug"
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks