Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Click a button and input text...

jrvh924
Level 3
Level 3

Hello,

I am wondering if this is possible.  I am creating a Dynamic PDF, which has a text field that I want to put a "hidden" button on, by hidden I mean to eilmiate wording and fills so you cannot see it.  What I want this button to do is when clicked, input a specific text into that text field.  I have no idea how to even go about this.  I know about doing this with a radio or check box, but not with a button.  Does anyone have ideas?

Thanks!

Justin

0 Replies
jrvh924
Level 3
Level 3

Bump.

Anyone have a suggestion/idea on how to do this?

Thanks,

Justin

Kevin_Cavallo
Level 6
Level 6

The idea is the same as if you were using a checkbox, only you would use the click event of the button.  I'm curious though how someone would click a button that is totally invisible.  Is your plan to fill in the text box when the user clicks on the field?

jrvh924
Level 3
Level 3

Kevin,


That is the plan.  My whole intention is to put the button with no border, background or wording over a word, i.e. Initial.  Then when the person clicks that button, it will put in the wording in that box.  I did, however, figure out how to put a white font check box in the form to do the same thing, which will not show on the printed document.  The next issue I am having is that when I use instance manager to make a new line, the check box will only work on the top line and no others.  If I can figure that part out, it might work the way I intended without using a button.


Hope that makes sense...


Justin

Kevin_Cavallo
Level 6
Level 6

Still a little foggy.  Are the words that you need to click on in a list or is it a paragraph that allows you to click on any word?  If it's a list of words you can put each word in its own text field and use the click event of the text field to extract the text.  Set the caption to none, set the appearance to none and set the default value to the word that you want to display.  Then in the click event use PlaceThatYouWantToStoreText = this.rawValue;

jrvh924
Level 3
Level 3

If you like, I can email my form to you, as I do not know how to put a link from Adobe in here, and you can see what I am trying to do.  Right now I like the idea of the instance manager and check box, but a button could work in the same setup...

Justin