Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

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

New Here ,
Jul 19, 2024 Jul 19, 2024

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.

Patricia37591886p2ug_1-1721415028804.pngexpand image

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.

314
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 19, 2024 Jul 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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 19, 2024 Jul 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">
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 19, 2024 Jul 19, 2024

Set 'readonly' to false.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 20, 2024 Jul 20, 2024
LATEST

Where did you place the code?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines