Skip to main content
rakeshk21205956
Inspiring
September 29, 2016
Question

I want a field in Adobe acrobat in which when i click once it show "+", when twice it show "-" and when click thrice blank

  • September 29, 2016
  • 1 reply
  • 1468 views

Sir / Madam,

I am making a form in which i want a field in which when i click once it should show "+", when clicked twice it shows "-" and so on..............

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
September 29, 2016

What does "and so on" mean? What should happen if it's clicked a third time?

rakeshk21205956
Inspiring
September 29, 2016

it should toggle between different characters i want...

like if i have 10 different characters.. then it should toggle between 10 of them.. while clicking on them.

Like on first click 1st character , second click 2nd character.. .till 10th and after that blank  and again.... 1st character..

Inspiring
September 29, 2016

Here's a link to a sample form that demonstrates the type of behavior you're looking for: http://acroscript.net/pdf/demos/multistate_4.pdf

It is intended to function as a multistate check box, so it includes a text field so you can get the value of the composite field (button + text) like you can with other field types. You'll have to study the JavaScript to see how it works. The text fields that hold the value would normally be set to hidden.