By default, ToolZ reports have four submit buttons:
- Submit: Submits the report in place
- Print: Submits the report to a new tab in ‘print’ mode, with controls removed
- PDF: Submits the report to a PDF
- Spreadsheet: Submits the report to Excel
If you would simply like to hide some of the buttons, they can be accessed via their classes:
- Print: k_output_print
- PDF: k_output_pdf
- Spreadsheet: k_output_spreadsheet
For greater control over the buttons, replace {DATATYPES.CONTROLS_END} with:
<div class="controls">#do not remove this or the buttons will no longer work
{PAGE.SUBMIT.INPUT}
#these may be removed, repositioned, or altered
{PAGE.SUBMIT.STANDARD_VIEW}
{PAGE.SUBMIT.PRINT_VIEW(class="k_submit")}
{PAGE.SUBMIT.PDF_VIEW(class="k_submit")}
{PAGE.SUBMIT.SPREADSHEET_VIEW(class="k_submit")}
</div>
</fieldset>
</form>
You may then remove or reposition whichever buttons you wish, but leave {PAGE.SUBMIT.INPUT} in place or the buttons will no longer work.