Linking a radio button to a text field in a pdf form

Forgive my ignorance but does anyone know how to link a radio button to a text field in an Acobat pdf form?
I have a series of 4 radio buttons. If you click on one of them I would like to activate a text field which you then have to fill in. In addition it would be good to have it so that if you don't click on the radio button you're not able to fill in the associated text box.
I am a designer not a programmer so I don't know much about javascript. Can anyone help?
Many thanks

You might want to look at Hiding and Showing Form Fields by Thom Parker. You might also want to clear the text field when the radio button changes.

Similar Messages

  • How do you grey out a radio button if a text field is blank in Adobe Acrobat XI Pro?

    How do you grey out a radio button if a text field is blank in Adobe Acrobat XI Pro?
    So this what I'm trying to do:
    (     )   |TEXT FIELD|
    (     )   |TEXT FIELD|
    (     )   |                  |
    (     )   |TEXT FIELD|
    I have a radio button: (     )
    and a text field: |TEXT FIELD|
    The third text field is blank, and I would like for the radio button next to it greyed out (user can't click on it) since the text field is blank. Is this possible to achieve? I'm assuming I'll have to use javascript, but what would the code be and would it be entered in the javascript editor for the text field or the radio button?
    Thanks in advance guys

    Hey, thanks, but it didn't work
    I have the text fields as read only. Could that be why it's not working? Should I make the fields not read only?
    Thanks,

  • Using radio button instead of text field

    Hi. I need to convert a text field for radio button. The conversion is as follows: the user will choose one of three options on the radio button (gif, png and jpeg). If the user chooses the image format such as jpeg, for example, how should I put in value? Put image/jpeg and does not work. This text field belongs to a form that was generated automatically by a WebService Data Control. Thanks

    remove the text field.
    drag and drop that attribute from data control, choose selectOneRadio
    in the wizard window, select fixed list and select this particular attribute and then type gif, png and jpeg one by one.
    in the pagedef it would be something like below:
        <list IterBinding="myIterator0" id="image" DTSupportsMRU="false"
              StaticList="true">
          <AttrNames>
            <Item Value="image"/>
          </AttrNames>
          <ValueList>
            <Item Value="gif"/>
            <Item Value="png"/>
            <Item Value="jpeg"/>
          </ValueList>
        </list>whatever you select that values goes to db.

  • Javascript to fill text field from other PDF form

    I am trying to figure out if it is possible to add javascript to a text field that when initiated pulls text from another field in a closed pdf in the same directory.
    For example I have a NAME field in the pdf form I am working in....
    When I initiate the script the NAME field is filled in with the same data from another PDF that is closed.

    I have looked up the 'disclosed' property and it looks like that is what I want to do..
    I have "this.disclosed = true" in a PDF with the name field. On the other PDF that I want the information replicated I am going to add a javascript to an action somewhere on the document, my problem is which script do I use to get this data from the other pdf?  Is the pdf that is now accessible via javascript (disclosed) a data object?

  • How can I change the content of a text field in a PDF form with a defined variable?

    Hello all!
    First time poster, and getting pretty frustrated with trying to figure out this one issue. Here is the scenario: I am using Acrobat 10 Pro to design what is essentially a giant order form. I designed the document in InDesign, defined the various buttons and whatnot and then exported it to Acrobat to continue building the form.
    I have a Radio Button group called "conference_opportunities" which contains different options at different price points, so they are all named the same, but have different values (so that they belong to the same group and only one can be selected at a time).
    What I have done is created a "MouseDown" event on the radio button that sets a variable called "ConferenceOpportunity" which is equal to the title of the option they are picking. I then want to take that variable and display it in a text box called "Conference_Option". I am using a variable because the values of my radio buttons are all the actual prices of the option they are picking, so I can't define the value as the title of the option.
    So its an array of radio buttons, and at the bottom of the page there is the Option They Selected, the quantity (which can change) and the value (in dollars)
    I also then want to display this variable at the end of the document as a sort of summary of everything they chose to purchase as well but I imagine its the same code.
    I am not an expert Javascript person at all, so any code snippets would help greatly. I have looked over the Adobe Document on the SDK and API and have not been able to find a solution. I have also turned to the almighty google and still no luck.
    Any help would be greatly appreciated!
    Thanks Everyone

    All you now have to do is use that variable to the value property of your text field... So add this at the end of your code:
    this.getField("Conference_Option").value = ConferenceOpportunity;
    Also, I would use MouseUp, not MouseDown.

  • Multiple Column text field in Static PDF form

    Okay, I'm pulling my hair out here. I am filling a .pdf form with itextsharp using powershell scripts. All this part of the issue is working fine.
    My problem is that I have the following data:
    A3015400R-2,A3015318R-1,A3015318R-2,A3015336R-1,A3015423R-1,A3015423R-2,A3015486R-1,A30153 06R-1,A3015240R-1,A3015102R-1,A3015333R-1,A3015120R-1,A3015158R-1,A3015333R-1,A3015400R-3, A3015400R-6,A3015400R-7,A3015234R-1,A3015234R-2,A3015400R-9,A3015306R-5,A3015311R-1,A30154 00R-2,A3015318R-1,A3015318R-2,A3015336R-1,A3015423R-1,A3015423R-2,A3015486R-1,A3015306R-1, A3015240R-1,A3015102R-1,A3015333R-1,A3015120R-1,A3015158R-1,A3015333R-1,A3015400R-3,A30154 00R-6,A3015400R-7,A3015234R-1,A3015234R-2,A3015400R-9,A3015306R-5,A3015311R-1
    That I would like to be displayed in columns across the page within one text field. So that the text field would look like this (approximately):
    A3015400R-2
    A3015318R-1
    A3015318R-2
    A3015336R-1
    A3015423R-1
    A3015423R-2
    A3015486R-1
    A3015306R-1
    A3015240R-1
    A3015102R-1
    A3015333R-1
    A3015120R-1
    I have the data sorted before I populate, so they go in numerical order, and i would like the be able to read them from top to bottom, left to right.
    I just can't figure out how to either:
    a) add multiple columns like I add multiple lines inside a text field
    or
    b) have multiple text fields linked together to thread the text input from fieldA to fieldB
    Any help would be much appreciated.
    edit: The data is actually in this format:
    A3015400R-2
    A3015318R-1
    A3015318R-2
    A3015336R-1
    A3015423R-1
    A3015423R-2
    A3015486R-1
    A3015306R-1
    A3015240R-1
    A3015102R-1
    A3015333R-1
    A3015120R-1
    A3015158R-1
    A3015333R-1
    A3015400R-3
    A3015400R-6
    A3015400R-7
    A3015234R-1
    A3015234R-2
    A3015400R-9
    A3015306R-5
    A3015311R-1
    A3015400R-2
    A3015318R-1
    A3015318R-2
    A3015336R-1
    A3015423R-1
    A3015423R-2
    A3015486R-1
    A3015306R-1
    A3015240R-1
    A3015102R-1
    A3015333R-1
    A3015120R-1
    A3015158R-1
    A3015333R-1
    A3015400R-3
    A3015400R-6
    A3015400R-7
    A3015234R-1
    A3015234R-2
    A3015400R-9
    A3015306R-5
    A3015311R-1
    Message was edited by: zombiejellyfish81

    Did you ever find any solutions to this problem?

  • Is there a way to import data from a specific text field in a PDF form directly into a text field in a different PDF?

    I know you can import form data from an .fdf file. Is there a way to import a specific value from that .fdf file into a text field in a separate pdf form?

    So I want the FDF to export every time the user saves or closes the PDF. Then I want the import to happen every time the user opens the PDF. That being said, this all has to work with Adobe Reader. If this is possible in anyway, I'd manage this would require some time of script. Any thoughts?

  • End user have ability to change font style in text field of interactive pdf form?

    Does the end user of an interactive pdf form able to change the font style, i.e.: make something bold or underline a word in a text field?
    I am making a form with text fields and the end user would like the ability to make something bold or underline it.. I do not see anywhere in acrobat that allows styles to be changed.
    I have created the form in Indesign > saved it as an interactive pdf and brought it into Acrobat.

    Thank you for the quick response! Do you set this in Indesign before exporting or do you set this in Acrobat? I am in Acrobat 10.1.10 and when I go to properties it doesn't give me  'options' to choose from.

  • Do I need to use javascript to get a text field in a PDF form to aut fill with current/today's date?

    I have a form for booking appointments and would like the date field to automatically fill with
    today's date and to print. I have set the text field's format to "Date" and when I place the cursor into the
    date field, today's date shows. It disappears as soon as I tab to the next field.
    Does this action require a javascript script to fill and print today's date? If so, where do I find that?
    Or is there another way to format the text field (besides typing today's date) to get the current date?
    Thanks.
    Ali
    using iMac 2.93 GHz Intel Core 2 Duo 8 GB | OS Snow Leopard 10.6.8 | Acrobat Pro 8

    Thank you GKaiseril!
    From the examples by Chris Dahl, I edited the script in the text field editing dialog to reflect the title I had given the field. That fixed the problem of today's date disappearing as soon as I tabbed to the next field.
    How do I choose for document level or page open script? I would like it to insert the date upon opening the document.
    Thanks again.
    Ali
    NOTE: I found the answer within Chris Dahl's tutorial... path is for Acrobat Pro 8: Advanced>Document Processing>Document Javascripts

  • How to create popup window with radio buttons and a input field

    Hi Guys,
    Can somebody give some directions to create a stand alone program to create a window popup with 2 radio button and an input field for getting text value. I need to update the text value in a custom table.
    I will call this stand alone program from an user exit. 
    Please give me the guidance how go about it or please give any tutorial you have.
    Thanks,
    Mini

    Hi,
    There are multiple aspects of your requirements. So let's take them one at a time.
    You can achieve it in the report program or you can use a combination of the both along.
    You can create a standalone report program using the ABAP Editor (SE38). In the report program you can call the SAP Module pool program by CALL Screen <screen number>. And then in the module pool program you an create a subscreen and can handle the window popup with 2 radio button and an input field for getting the text.
    For help - Module Pool programs you can search in ABAP Editor with DEMODYNPRO* and you will ge the entire demo code for all dialog related code.
    For Report and other Module pool help you can have a look at the following:
    http://help.sap.com/saphelp_nw70/helpdata/en/47/a1ff9b8d0c0986e10000000a42189c/frameset.htm
    Hope this helps. Let me know if you need any more details.
    Thanks,
    Samantak.

  • Run time change # of radio button and boolean text

    does Labview 8 support run time programmically change number of radio button and boolean text for each radio button?
    Thanks,
    DG

    You can also customize a slide control to look like radio buttons. You can control the text labels and the number of element through a property (by changing the scale properties). If you really want it to look like radio buttons, you can try ripping the images from the dialog radio button. Also, to save some time, you can get the OpenG buttons package, which includes a slide customized to look like radio buttons. The main problem with this is that changing the number of items does not change the size of the control and that makes the dot filling the radio buttons look compressed.
    Another option is to create an array of radio buttons, but then you will have to handle the logic yourself.
    Try to take over the world!

  • Updating a user text field in sap system form in Find Mode

    Dear All,
                    I created a Edit text field in Sap System form [FormType :149] -Sales Quotation. I want to update a value to the text while clicking OK button in Find Mode. the code is given below.
    If pVal.ItemUID = "1" And pVal.FormMode = SAPbouiCOM.BoFormMode.fm_FIND_MODE And (Not pVal.Before_Action) And pVal.EventType = SAPbouiCOM.BoEventTypes.et_CLICK Then
            oForm = SBO_App.Forms.Item(FormUID)
            oForm.Freeze(True)
            oItem = oForm.Items.Item("txtUID") 
            oEdit = oItem.Specific
            oRS = ConSBOdb.Execute("Select * from BG_CAMPAIGNSHDR where CMIDENT ='" & Trim(oEdit.Value) & "'")
            oItem = oForm.Items.Item("txtCampgn")         ' //  User created field
            oItem.Enabled = False
            oEdit = oItem.Specific
            If oRS.EOF = False Then
                oEdit.Value = oRS.Fields("CMNAME").Value
            Else
                oEdit.Value = ""
            End If
    end if
    while clicking the OK button, Based on the value fetched on the screen, I have to open a recordset and get the value.  But, the screen loads the value to the system textboxes. I could not get those value to run the Sql  in the event. it returns empty. Could any one help please how to solve this ?
    Thanks in advance.
    Manikandan.

    Hi,
    Try This..
    If pVal.FormType = 149 And pVal.ItemUID = "1" Then
                If pVal.FormMode = SAPbouiCOM.BoFormMode.fm_FIND_MODE Then
                    If pVal.Before_Action = False Then
                        If pVal.EventType = SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED Then
                            Try
                                oForm = SBO_App.Forms.Item(FormUID)
                                oForm.Freeze(True)
                                oItem = oForm.Items.Item("txtUID")
                                oEdit = oItem.Specific
                                oRS = ConSBOdb.Execute("Select * from BG_CAMPAIGNSHDR where CMIDENT ='" & Trim(oEdit.Value) & "'")
                                oItem = oForm.Items.Item("txtCampgn") ' // User created field
                                oItem.Enabled = False
                                oEdit = oItem.Specific
                                If oRS.EOF = False Then
                                    oEdit.Value = oRS.Fields("CMNAME").Value
                                Else
                                    oEdit.Value = ""
                                End If
                            Catch ex As Exception
                                SBO_application.MessageBox(ex.Message)
                            End Try
                        End If
                    End If
                End If
            End If
    Best Regards,
    Mahendra

  • Can I populate a text field in one PDF with the modification date of a different file ?

    Rather convoluted problem here but I'm trying to place a text field on a PDF document that serves as the main menu page for a library of interlinked PDF documents
    The complete library contains over 7,000 files and additions are added and documents changed almost daily.
    We currently use batch files to open the main menu from it's shortcut and this runs a check on a sync log file (.txt) to ascertain when the last time the user synchronised with the server to get the latest copy of the files.
    Between a certain time range they are told how long it has been since they sync'ed and are offered the option to sync before opening, after a prescribed timeframe they cannot enter without synchronising. We use Allways Sync to conduct the file synchronisation with our mother files on our server.
    What I'd like to do is take advantage of Allways Syncs automatic synchronisation options to synchronise on log on and at prescribed idle periods there after.
    This works fine but I'd like the text field on the main menu PDF to say when the last synchronisation took place - easy if the main menu is the last file modified .. just use info.modDate.
    However, the main menu is rarely modified therefore I wish to import the text to populate the text field from a different file.. either by interrogating the other files modifictaion data (though I doubt Acrobat can do this) or by simply importing some text stored in another file (a .txt file?) which has previously been created by batch file commands.
    Any assistance would be greatly appreciated.
    Regards,
    Nifty Styles
    (Norfolk, England)
    P.S.  I'm using Acrobat 8.3.1. Professional on Windows XP (SP3).

    Thank you for all your help above.
    Just to confirm your advice, am I right with the following conclusions? :
    1. The script (function) to fill the text field with the modification date of a different PDF file needs to be stored in a folder level .js file.
    2. The document containing the text field needs to call the .js function either within the document script or within the custom script property of the text field itself.
    Further to that can you just advise on the syntax for accessing the modification date of the other document.
    Do I need to assign a variable to the address of the file to be used, and then use this variable in the text form filling script (as below) or can I use a direct file reference at the .modDate command.
    var LastSync = "C:\sync\bin\lastsync.pdf";
    var strMsg = util.printd("h:MM tt",LastSync.modDate) + " on ";
    strMsg += util.printd("dddd, d mmmm, yyyy",LastSync.modDate);
    this.getField("LastSyncDate").value = strMsg;
    If the syntax is totally different to the above I would be very grateful for some guidance in the right direction.
    I much appreciate your time to help me ... I'm almost there.
    Kind Regards,
    Nifty

  • How to use the separate symbol in the text field in the adobe form.

    Hi,experts,
    I don’t know how to use the separate symbol to make a paragraph separate into several lines correctly in the text field in the adobe form.
    Action:
    1. config the ADS successfully.
    2. create the adobe form with a mult-line textfield(binding the 'remark' context in the interface of the form) using sfp.
    3. create a WDA for invoke the form and transfer the 'remark' context data.
    I use the following codes to display the paragraph in the PDF document:
    CONCATENATE
    '1&#12289;aaaaaaaaaaa&#65307;'
    '2&#12289;bbbbbbbbb '
    '3&#12289;ccccccccccc'
    '4&#12289;ddddddddd'
    INTO remark .
    lo_nd_z_hr_php_payslip->set_attribute(
    EXPORTING
    name = `REMARK`
    value = remark ).
    But I found all the content aren't paragraph separate correctly in the text field in the adobe form when I run the WDA.
    Could you please give me some hints to make the paragraph separate correctly in PDF document? Thanks a lot in advance!
    My email is : [email protected]
    Best regards,
    Tao
    Edited by: wang tao on Apr 8, 2008 1:58 AM

    Hi,
    If it is just a one word value then you could use this in the exist event;
    this.rawValue    
    = util.printx(">?<*",this.rawValue);
    This changes the first character (represented by the ?) to uppercase (represented by the >) and all trailing characters (represented by the *) to lowercase (represented by the <).
    If you wanted something more general ... if they could also enter a middle name then you could call a function like;
    function        toTitleCase(textValue)
      return  textValue.toLowerCase().replace(/\b[a-z]/g, function replacer(match) { return match.toUpperCase(); });
    This uses a regex to change all lowercase letters following a word boundary to uppercase.
    Bruce

  • Text field issue in Sub Form

    Hello Experts,
    I am creating my very first Adobe Form for my client. I have created a subform with "Flowed" content. I have one Text Field in that sub form. When I try to place the second Text Field adjacent to that, it's not letting me do that. It's placing the Text Field under the first one. Can you please let me know how to overcome this issue?
    Thanks a lot for your help. I did search and could not find any solution for this.
    Also, I tried to change the position manually, but the X: and Y: positions are greyed out for me in Layout pallette.
    Edited by: sam jose on Apr 28, 2011 6:04 PM

    Hi sam,
    When you have selected the sunform to be "flowed" , there is an adjacent field where you mention the typr of flow - 'Top to bottom ' or 'Western text' . If you specify as 'western text' then you could get the desired result. you can use rectangles etc for any alignment based on your layout requirement.
    Soha.

Maybe you are looking for

  • How to restore machine using a TM backup on a usb hard drive from older imac to a brand new iMac?

    My imac (the one that had a superdrive in it), had a broken superdrive and was sent for repair. Whilst being "repaired" the screen was broken. I now have a brand new imac albeit without a dvd drive. My question is how to I restore my the old TM back

  • Problem signing in Metalink

    I have a metalink account and want to sign in to it, but the sign in page keep appear after I press of "Sign In" button. Is there anyone can tell me how to solve this problem? Thanks

  • Analyze error

    Hi all, Let me know if any option to view what are the tables are getting failed during the schema analyze operation. i have run the analyze script in ORACLE 10gR2 on hp-ux machine. I have get the error from log as given below.But i want to see which

  • Jet Driver 4.0 Missing in Windows 7

    Please excuse my warped terminology as I'm a web site designer not a web developer. I've just upgraded to Windows 7 Home Premium, 64 bit, after my machine died a flaming death. I have several sites that uses an ODBC DSN connection using the Jet Drive

  • No Current option in Budget status

    hii There is no "current" option coming in budget status there is only "Open" and "Frozen" options available. Kindly help Regards