{{ html.goback }} – Go Back Button

Renders a link to the previous page.

Basic usage:

{{ html.goback }}

Usage with parameters:

{{ html.goback(Label, Icon Image, Attribute, Custom Redirect Link) }}

Parameters:

  1. Label (optional) – What will be written after the icon.
  2. Icon Image (optional) – Icon Image that will appear before text/label.
  3. Attribute (optional) – HTML options like: style, class, onchange etc.)
  4. Custom Redirect Link (optional) – URL to redirect after processing the button click. Tip: user $get_listing_id keyword to get newly saved record id.

Example:

{{ html.goback("Click to go back to the previous page","","style='border:1px solid red;'") }}


What are your feelings

Leave a Reply

Updated on January 9, 2025