• Resolved arkventure

    (@arkventure)


    I want to use the calculate button to display the results (rather than having them show dynamically). Right now I have the “Eval dynamically the equations associated to the calculated fields” turned off so that the resulting calculation doesn’t appear until they click the “calculate” button. But is it possible to hide the entire calculated field area, until after the calculate button is pressed?

    https://ww.wp.xz.cn/plugins/calculated-fields-form/

Viewing 1 replies (of 1 total)
  • Plugin Author codepeople

    (@codepeople)

    Hi,

    Yes, that’s possible. Simply follow the steps below:

    1. Select the calculated field, and assign to it the class name: hide, through the “Add Css Layout Keywords” attribute.

    2. Insert a button in the form, in the button type, tick the option: calculate

    3. Finally, enter the following code as the OnClick event of the button:

    jQuery(‘.hide’).show();

    Best regards.

Viewing 1 replies (of 1 total)

The topic ‘Calculate Button’ is closed to new replies.