Skip to main content
Participant
July 19, 2024
Question

Enabling a disabled checkbox after using a 'Reset' button.

  • July 19, 2024
  • 4 replies
  • 514 views

Hi, I need help with either the Reset button or the checkboxes.

I have 4 checkboxes set to where if Not Approved is selected, checkboxes: A,B,C are unchecked and disabled.

using a similar script like below:

 

this.getField("A").readonly = true; this.resetForm(["A"]);

this.getField("B").readonly = true; this.resetForm(["B"]);

this.getField("C").readonly = true; this.resetForm(["C"]);

 

However when using a Reset button to clear the form, the A,B,C checkboxes remain disabled when Not Approved is unchecked. Is there a Javascript to allow the 'reset' to take place and enabling A,B,C again?

 

Thank you.

    This topic has been closed for replies.

    4 replies

    try67
    Community Expert
    Community Expert
    July 20, 2024

    Where did you place the code?

    Nesa Nurani
    Community Expert
    Community Expert
    July 20, 2024

    Set 'readonly' to false.

    kglad
    Community Expert
    Community Expert
    July 19, 2024

    in the future, to find the best place to post your message, use the list here, https://community.adobe.com/

    p.s. i don't think the adobe website, and forums in particular, are easy to navigate, so don't spend a lot of time searching that forum list. do your best and we'll move the post (like this one has already been moved) if it helps you get responses.



    <"moved from using the community">
    John T Smith
    Community Expert
    Community Expert
    July 19, 2024

    When you post a question you always need to tell the Adobe program you are using
    There are MANY programs in a full subscription, plus other non-subscription programs
    Please post the exact name of the Adobe program you use so a Moderator may move this message to that forum