Skip to main content
Participating Frequently
September 28, 2020
Question

Acrobat Forms Radio Buttons

  • September 28, 2020
  • 2 replies
  • 1311 views

We have a document approval process that needs 4 possibly 5 people to sign off a document. I've created a very simple document approval form whereby there is an Approved yes/no radio button for each indiviual that needs to approve the document. I've used show/hide for each radio button so that if "yes" is clicked against a name (x, y...), "date" (x1, y1...), "name" (x2, y2...) and "signature" (x3, y3...) fields will show for that name only and the remainder will appear hidden. This works well however, once the next individual who needs to sign off the document clicks on the appicable "yes" button, the previous signature is hidden. My question is...How can I make such that if a "yes" button has been selected, the fields associated with that button remian visible if previously completed...bascially I'm looking for something like If radio button x = yes, then show fields X1, x2 and x3 and if rado button y = yes, then show fields y1, y2 and y3 and so on. I hope this makes sense. All answers gratefully received. Many thanks in advance    

This topic has been closed for replies.

2 replies

Participating Frequently
September 29, 2020

I've revised my thinking slightly now. As I stated in my original query, the document has to be approved by 4 or 5 different people. Thanks to the help I've been given, I've managed to set the form up so that if the "yes" radio button next to an approver is selected, the corresponding fields for "name", "date" and "digital signature" show up and can be completed. What I want to do now is that once the approver has digitally signed against his name, the corresponding yes / no radio button is disabled and the completed fields remain on display if that's possible. I hope this makes sense. Basically:-

 

Engineering manager non approval - "em no" radio button selected and "em date", "em name" and "em signature" fields do not show

Engineering manager approval - "em yes" radio button selected and "em date", "em name" and "em signature" fields show, then once the "em signature field has been digitally signed, the "em yes / no" radio button is disabled.

 

Many thanks in advance

 

 

    

Inspiring
September 29, 2020

What do you mean by disabled, unchecked?

Didn't this post have been marked already?

Participating Frequently
September 29, 2020

By disabled, I mean I want the yes/no radio button to remain at the yes selection and that it then cannot be changed / used 

Nesa Nurani
Adobe Expert
September 28, 2020

You can use this code as radio button MouseUp event:
if(event.target.value != "Off"){
this.getField("y1").display = display.visible
this.getField("y2").display = display.visible
this.getField("y3").display = display.visible;}

Participating Frequently
September 28, 2020

That's absolutely great. Thank you. Second question, can I make the "Yes" radio button stick once selected and if so, how do I do it please?

Nesa Nurani
Adobe Expert
September 28, 2020

What do you mean by "stick"? 

If you mean that you want it to remain checked when another button is selected then give them diff name.