Legacy Dev Forum Posts

 View Only

Sign Up

Scripts- Show/Hide Button based on Data Action Response

  • 1.  Scripts- Show/Hide Button based on Data Action Response

    Posted 06-05-2025 19:09

    alialjohani | 2018-10-02 13:56:08 UTC | #1

    Hello Everyone,

    I would like to know if I can show or hide (enable/disable) a button in the script based on the response from Data Action Web Service?

    Best Regards,


    tim.smith | 2018-10-02 14:07:02 UTC | #2

    Buttons have a Disabled property under the Advanced heading that allows you to use a variable to control the enabled state. Your data action can set a variable used by the button.


    alialjohani | 2018-10-02 14:17:36 UTC | #3

    Thank you, Tim.

    Can I insert text component/ or set of components based on button click from the agent? In other words, each time the agent click on this button, a text field will be added/inserted in the page?

    Best Regards, Ali


    system | 2018-11-02 14:11:14 UTC | #4

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 3662