How to remove feedback button and form programmatically?

  • alexnizamov
    Asked on February 2, 2018 at 6:59 AM

    I'm embedding a feedback button by adding a script tag where a new JobformFeedback object is instantiated. Works like a charm BTW.


    Now, I'd like to remove the button programmatically, from code. Since it's a React app, re-rendering a page without this script is not an option. Could you advise me how do I get rid of the button the right away?

  • Sabbir
    Replied on February 2, 2018 at 8:09 AM

    Are you referring to the Feedback button on this form?

    https://www.jotform.com/80321602309344

    You can remove the button from the form based on any action within the form.

    You can check our conditional logic section to know how you can remove the button based on a condition.

    Please refer to this guide to know more about using conditional logic:

    https://www.jotform.com/help/57-Smart-Forms-Using-Conditional-Logic

    If you have any further query, please let us know.