Need a script that erases the information in a text box and disables it when a button is clicked
Good day,
I have two radio buttons that depending on which button is clicked, it disables or enables boxes (text boxes, dates, etc.) so that the user can enter the required information. The problem is:
If the user clicks the other button after the information is entered in the boxes, the information entered in the boxes remains. They should be cleared and disabled at the same time.
Example: Two buttons - One is "yes", the other is "No". If yes is clicked, the boxes (Name), (Date), (Reason) is enabled so that they can enter the information. If the user then click "No" because they changed their mind, the the information in (Name), (Date), (Reason) is disabled and erased and (comments) box is enabled.
I'm hoping there is a script for this. I tried the action builder and it's too complicated and not working like I want it.