Style-based URLs for embedded forms and reports | Zoho Creator Help

Style-based URLs for embedded forms and reports

In this topic we list out the parameters used in customizing the look and feel of Zoho Creator forms and reports. These parameters can be applied to the Forms and Reports embedded in your Pages.

Form properties

DescriptionParameter/Value
Display form without form headerzc_Header=false
Form background colorzc_BgClr=<color value>
Form border colorzc_BdrClr=<color value>
Customize the success messagezc_SuccMsg=<custom message>

Embed form with transparent background

zc_BgClr=transparent

Notes
Note:
Color values can be given as CSS or Hex values or color names.
Example: zc_BgClr=_00FF00, zc_BgClr=lime, zc_BgClr=rgb(0, 255, 0)

Form header customization

DescriptionParameter/Value
Header colorzc_HdrClr=<color value>
Header heightzc_HdrHeight=<header height in px or %>
Header fontzc_HdrFont=<header font family>
Header font colorzc_HdrFontClr=<color value>
Header font sizezc_HdrFontSize=<header font size>

Notes
Note:
Color values can be given as CSS or Hex values or color names.
Ex : zc_HdrClr=rgb(0, 255, 0), zc_HdrClr=_00FF00, zc_HdrClr=lime
Width and height can be given in px, % etc

Form footer customization

DescriptionParameter /Value
Footer colorzc_FtrClr=<color value>
Button background colorzc_BtnBgClr=<color value>
Button fontzc_BtnFont=<font family>
Button text colorzc_BtnClr=<color value>
Button footer heightzc_FtrHeight=<footer height in px or %>
Button background color on mouse overzc_BtnMovrBgClr=<color value>
Button text color on mouse overzc_BtnMovrClr=<color value>
Button font sizezc_BtnFontSize=<footer font size>

Notes
Note:
Color values can be given as CSS or Hex values or color names.
Ex : zc_HdrClr=rgb(0, 255, 0), zc_HdrClr=_00FF00, zc_HdrClr=lime
Width and height can be given in px, % etc.

Form field width/ height customization

Field TypeParameter for Field WidthParameter for Field Height
Single line/Emailzc_InpFieldWidth=<width>zc_InpFieldHeight=<height>
Multi Selectzc_MultiSelectWidth=<width>zc_MultiSelectHeight=<height >
Radio buttonzc_RadioWidth=<width>zc_RadioHeight=<height>
Decision boxzc_DecisionCBWidth=<width>zc_DecisionCBHeight=<height>
Number/Decimal/Percent/Currencyzc_NumberFieldWidth=<width>zc_NumberFieldHeight=<height>
Multi Linezc_TextAreaWidth=<width>zc_TextAreaHeight=<height>
Datezc_DateWidth=<width>zc_DateHeight=<height>
DateTimezc_DateTimeWidth=<width>zc_DateTimeHeight=<height>
Checkboxzc_CheckBoxesWidth=<width>zc_CheckBoxesHeight=<height>
Dropdownzc_DropDownWidth=<width>zc_DropDownHeight=<height>

Notes
Note:
Width and height can be given in px or %

 Report customization

Description
Parameter /Value
Report - Header Color
zc_HdrClr=<color value>
Report - border color
zc_BdrClr=<color value>
Report - Group Header Color
zc_GrpHdrClr=<color value>
Need search option
zc_Search=<true/false>
Show/Hide "report name"
zc_ReportName=<true/false>
Show/Hide "ShowAs(Menu)"
zc_ShowAs=<true/false>
Show/Hide record summary link
zc_Summary=<true/false>
Show/Hide "Add" link
zc_AddRec=<true/false>
Show/Hide "Delete" link
zc_DelRec=<true/false>
Show/Hide report header
zc_Header=<true/false>
Show/Hide report footer
zc_Footer=<true/false>
Show/Hide filters in report
zc_Filter=<true/false>
Show/Hide column drop-down menu
zc_ColMenu=<true/false>
Show/Hide summation row
zc_SumRow=<true/false>
Show/Hide "Edit" link in each record
zc_EditRec=<true/false>
Show/Hide "Duplicate" option
zc_DuplRec=<true/false>
Show/Hide "Save" option. Applies only for grid report
zc_SaveRec=<true/false>
Deluge name of field based on which calendar report
will be shown. Applies only for calendar report
zc_CalField=<delugeName>
Show/Hide record selection check box in each record
zc_RecSelect=<true/false>
Show/Hide secondary header (Record selection, Add,
filter, Search, other actions under Menu) in reportzc_SecHeader=<true/false>
zc_SecHeader=<true/false>
Show/Hide "Bulk Edit" link
zc_EditBulkRec=<true/false>
Show/Hide "bulk delete" link
zc_BulkDelete=<true/false>
Show/Hide "bulk duplicate" link
zc_BulkDuplicate=<true/false>
Hide "Export" option
zc_Export=true (by default it is false)
Hide "Print" option
zc_Print=true (by default it is false)
Hide record level Print option
zc_RecPrint=false (by default it is true)
Hide "More Options"
zc_MoreAction=false (by default it is true)
Show/Hide the import option
zc_Import=<true/false>
Notes
Note:
Color values can be given as CSS or Hex values or color names. Example: Ex : zc_HdrClr=rgb(0, 255, 0), zc_HdrClr=_00FF00, zc_HdrClr=lime

Examples

  1. To customize the embedded form in your page, add the required parameters after the params=' as shown in the sample code below.

    <div elName='zc-component' formLinkName='Sales'params='zc_Header=true&zc_SuccMsg=Data Added Sucessfully!&zc_SubmitVal=Submit&zc_ResetVal=Reset&zc_HdrFontClr=Blue&zc_HdrFontSize=20'>Loading Form..</div>

  2. To customize the embedded report in your page, add the required parameters after the params=' as shown in the sample code below.

    <div elName='zc-component' reportLinkName='Sales_Report' params='zc_Summary=false&zc_Filter=false&zc_ColMenu=false'>Loading Report...</div>


Points to note

  1. Embedded components in mobile app: By default, components( forms, reports, pages ) embedded in HTML snippets using the <div> tag are displayed as buttons in the native Zoho Creator mobile application. To display the embedded component as it is instead of a button, add  "zc_mobileview=inline" parameter inside the <div> tag.