Skip to main content
Known Participant
August 7, 2023
Answered

required radio button group becomes unrequested when a button is selected

  • August 7, 2023
  • 1 reply
  • 400 views

Hi, I was wondering if it would be possible to make all radio buttons of a required group not required once one of them is selected. Thank you

This topic has been closed for replies.
Correct answer Thom Parker

Yes, put this script in the MouseUp for each button. 

event.target.required = false;

 

 

1 reply

Thom Parker
Community Expert
Thom ParkerCommunity ExpertCorrect answer
Community Expert
August 8, 2023

Yes, put this script in the MouseUp for each button. 

event.target.required = false;

 

 

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
Known Participant
August 9, 2023

Grazie per la risposta, funziona perfettamente.