• Resolved ramanandmehta

    (@ramanandmehta)


    “I have an HTML field to display results in a custom format, like a table. I want it to be initially hidden. Upon clicking the ‘Calculate’ button, the div containing the HTML field will be shown. When the ‘Reset’ button is clicked, it should be hidden again. How can I achieve this?”

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

    (@codepeople)

    Hello @ramanandmehta,

    Thank you very much for using our plugin. You can follow the steps below:

    1. Enter the hide class name through the “Add CSS Layout Keywords” attribute in “HTML Content” field settings.

    2. Assuming the “HTML Content” field is the fieldname123, enter the following piece of code as the onclick event of the “Calculate” button:

    SHOWFIELD('fieldname123');

    And the following piece of code as the onclick event of the “reset” button:

    HIDEFIELD('fieldname123');

    Best regards.

Viewing 1 replies (of 1 total)

The topic ‘Hide html field and show when button clicked’ is closed to new replies.