Skip to main content
Known Participant
Aug 7, 2023 11:00 PM UTC
Answered

required radio button group becomes unrequested when a button is selected

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 is closed to new replies. Start a new post to keep the conversation going.
Thom Parker
Thom ParkerCorrect answer
Community Expert
Aug 8, 2023 12:27 AM UTC

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

2 replies

Thom Parker
Community Expert
Thom ParkerCommunity ExpertCorrect answer
Community Expert
Aug 8, 2023 12:27 AM UTC

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

event.target.required = false;

 

 

Translate
Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
Known Participant
Aug 9, 2023 8:50 PM UTC

Grazie per la risposta, funziona perfettamente.

Translate