5 Replies Latest reply on Jul 18, 2013 8:56 AM by jrvh924

    Click a button and input text...

    jrvh924

      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

        • 1. Re: Click a button and input text...
          jrvh924 Level 1

          Bump.

           

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

           

          Thanks,

           

          Justin

          • 2. Re: Click a button and input text...
            Kevin Cavallo Level 4

            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?

            • 3. Re: Click a button and input text...
              jrvh924 Level 1

              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

              • 4. Re: Click a button and input text...
                Kevin Cavallo Level 4

                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;

                • 5. Re: Click a button and input text...
                  jrvh924 Level 1

                  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