The Base field is the default parent field. It simply renders the value as is for DetailViews and an HTML text field <input type="text"> for EditViews. All SugarFields that have a corresponding PHP file extend from SugarFieldBase.php.The Bool field is responsible for rendering a checkbox to reflect the state of the value. In release 5.0 all boolean fields are stored as integer values. The Bool field will render a disabled checkbox for DetailViews. If the field value is "1" then the checkbox field will be checked. There isno special parameter to pass into this field from the metadata definition. As with any of the fields you have the option to override the label key string.
The File field renders a link that references the download.php file for the given displayParam['id'] value when in DetailView mode.
The function override is not handled by the SugarFields library, but by the rendering code in include/EditView/EditView2.php.
The Username field is a helper field that assumes a salutation, first_name and last_name field exists for the vardefs of the module. It displays the three fields in the format:
Copyright 2004-2008 SugarCRM Inc.
Product License