Field: Cost Calculator Form

Cost Calculator Form.

Cost calculator form for users to fill out and find out current and potential savings. To be used with cost calculator results on another resource.


Category: Waterlogic Forms.
Content Blocks Documentation: https://docs.modmore.com/en/ContentBlocks/v1.x/Fields/index.html


cost-calculator-field.png

figure 1

Additional Settings: (as found within field cog)

cost-calculator-settings.png

figure 2

Settings

Redirect to?: What resource ID is the form results layout on? Required

SVG Icon: Icon to display above the form.

SVG Icon Colour: What should the colour be of the icon? Default Blue Light.

    Form Heading: Heading content above the form. Default empty. (If left empty will use lexicon variable).

    Form Content: Content above the form. Default empty. (If left empty will use lexicon variable).

     
    Global Settings for the calculator (context based and lexicons)

    This is a preconfigured form and uses settings and variables in:

    Website Settings (found on the Modx dashboard, see figure 3)

    website-settings.png

    figure 3

    Under website settings go to Cost Calculator:

    cost-calcultor-config.png

    figure 4

    To manage settings for other contexts, select context under the Choose Context dropdown. (seen in image above).

    Lexicons 

    Tooltips, placeholders and general content for this form and the results fully use lexicons. To access lexicons go to the "cog" icon at the top right of the Modx dashboard and select Lexicons.

    lexicons.png

    figure 5

    To find lexicon values for cost calculator, select Waterlogic -> cost_calculator -> en (namespace -> topic -> language) where "en" is the language to are going to edit.

    lexicons-namespace-topic.png

    figure 6

     

    Sample Output:

    sample-cost-calculator.png