How to disabled button during input error in script

Hi
I am validating the script.
The agent enters a phone number (11 digits starting from 050/060/070) in the "Input" container and performs the search operation in the "Button" container.
I want to do a check (^0[789]0\d{8}$) in the "validation" of the "input" container and disable the "button" container while there is an error.
I tried to have a variable in the "disabled" of the "button" container and control it with an action, but it doesn't work.
Please let me know if there is a way to implement it.

Best Regards,
Hirofumi.Enotani

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