Help text values inline
The calculator displays help text in the form of a pop up when a field receives focus. You can customize the text displayed to the user. The JSON object used in the data-defaults attribute can contain custom help text. Clients can refer to the default properties in Symmetry's Client Support Center for help text documentation.
Basic Example - Setting the gross pay field to have a custom help text message
grossPay - Hello, this is custom help text for the gross pay field
<script async src="https://calculators.symmetry.com/widget/js/salary.js?key=yourKey"
data-defaults='{"helptext":{"grossPay":"Hello, this is custom help text for the gross pay field"}}'></script>
The widget will accept custom text for each form field. View the default properties in Symmetry's Client Support Center to see the names of the form fields.
Updated 10 months ago