How do I change the text in a field with radio buttons or check box?

Hi All:
I have a form that has a list of things with check boxes (could be done with radio buttons) at the bottom. The client wants a single field at the top of the form that repeats the text next to the checkboxes. For example if a user checks the box next to the words "You did thing 1 wrong" the client wants "You did thing 1 wrong" to appear in this text box at the top of the form. If the user checks the box next to the words "You did thing 2 wrong" the client wants the words "You did thing 2 wrong" to appear in the magic box at the top of the page. There are 10 different check box options, so the box at the top would need to be able to have 10 different things in it.
Client is not interested in a drop down menu. I asked.
I am in a bit over my head here, so my question is twofold.
1. Can you do this in Acrobat Pro 10 on a Mac?
2. Can you supply me with code?
Thanks in Advance,
Amy W.

Create a text field and make this script its custom calculation script :
     var a ="";
     if (this.getField("Check1").value == "Yes"){
     a="You did thing 1 wrong";
     event.value = a;
Also, replace "Check1" with the name of your check box or radio button, and give it an export value of "Yes".

Similar Messages

  • How to dynamically change the text of a TextObject with embedded DataField?

    Hi
    I'm trying to dynamically change the text of a TextObject at runtime, by using the .NET library. My problem is that if one or more DatabaseFieldDefinition is embedded inside my text, I'm unable to change the "static text" only, by keeping the field, e.g. I have :
    Text1 => "Contact Name: {Contact.Name}"
    and I'd like to change it to anything else like:
    Text1 => "Nom du Contact: {Contact.Name}"
    Half of my TextObject is static text while second part comes from the dataset.
    (of course the translation is dynamic - it is called at run-time and the new value to be set depends on the calling application language)
    If I simply modify the Text property of my TextObject, the {Contact.Name} embedded field is not evaluated anymore by the Crystal Engine, but considered as a single text.
    Using formulas or parameters looks quite difficult, because it means having many ones just for translation needs - I cannot control the way my users will create their reports and "force them" to use complex methods just in order to put a text and a value together...
    Anyone knows how to deal with that ?

    Only way I can think of doing this:
    1) Create a formula (call it lang) and enter the string "Contact Name" in it
    2) Place the  {Contact.Name} field next to the string
    3) So now you have:
    ContactName:  {Contact.Name}
    4) Check what localization you are after. If you need "Nom du Contact", change the lang formula so it shows "Nom du Contact" using the code below:
    Imports CrystalDecisions.CrystalReports.Engine
    Imports CrystalDecisions.Shared
    Public Class Form1
    Inherits System.Windows.Forms.Form
    Dim Report As New CrystalReport1()
    Dim FormulaFields As FormulaFieldDefinitions
    Dim FormulaField As FormulaFieldDefinition
    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    FormulaFields = Report.DataDefinition.FormulaFields
    FormulaField = FormulaFields.Item(0)
    FormulaField.Text = "[formula text]"
    CrystalReportViewer1.ReportSource = Report
    End Sub
    I realize this may not give you consistent spacing as the translations may have strings of differnt length. Perhaps someone has other idea(s)...

  • How to change the caption of a field with a button?

    I have serious trouble, don't know why, in order to change the caption of a field.
    I can't do it with a button as in any other way...dropdown list, ecc...
    Assumes that we have a button and "on click" i want to change the caption of a numeric or text field.
    form1.ppp.Button1::click - (FormCalc, client)
    NumericField1.caption.value.text.value = "whatever you want to set it to";
    TextField1.caption.value.text.value = "whatever you want to set it to";
    xfa.form.form1.ppp.NumericField1.rawValue = xfa.form.form1.ppp.NumericField1.rawValue + 1;
    The numerical value inside the numericalfield1 is increased each click...but the caption still the same.
    Why this happen?
    I check many threads on this forum and on google and i still find these samples...
    please help.
    Thank you

    Yes, it is. Also in preview i checked "dynamic XML". is it right?
    i try to download this sample while searching in the forum to solve my problem
    https://acrobat.com/#d=pxtis4z3OxCqWxajZwDS2Q
    i try to add to that form my code and it's work!! i can't undersand why...
    Below you can find my PDF...i can't understand why here the same code doesn't work
    http://www.hsc350.it/download/Untitled2.pdf
    Thank you again!

  • How do I change the font to bold for a label in a check box item

    I am having no success with this and my internet searches throw me all over the place with no success. Can someone please explain how to change fonts for items in the most simple and basic terms. Thanks

    Use HTML Form Element Attributes and type there something like style="font-weight:bold" or Form Element Option Attributes and class="fielddatabold". See my demo app for that:
    https://apex.oracle.com/pls/apex/f?p=31517:1
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.apress.com/9781430235125
    http://apex.oracle.com/pls/apex/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • How do i change the text color in ichat?

    How do i change the text color in ichat?

    Hi,
    In One Chat by word or letter go to the Format Menu as you type (Highlight and change like you would in any other App)
    On a more permanent basis the Font, it's colour and the IM background colour are set in iChat Menu > Preferences > Messages
    10:12 PM      Wednesday; November 23, 2011
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Lion 10.7.2)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • How do I change the text color from blue in Safari on Macbook Pro?

    I have trouble seeing the light blue text color -- many article use this.  How can I change the text color?

    Is this a particular website where you see the light blue color?
    If so, please post a link to that site in your Reply.
    Exactly which light blue color are you referrting to ??

  • How do I change the text color in a call out box?

    How do I change the text color in a call out box?

    See http://help.adobe.com/en_US/acrobat/X/standard/using/WS58a04a822e3e50102bd615109794195ff-7 e5a.w.html
    Also http://helpx.adobe.com/acrobat/kb/unable-edit-properties-text-box.html

  • How do i change the text in a submenu diffrent than the page name? I want it wrap into two lines

    How do i change the text in a submenu diffrent than the page name? I want it wrap into two lines or be a diffrent title but i can't figure out how to make any changes to the text.

    Hello,
    Text in Menu/Submenu canno tbe changed while using menu widget. However, if you use the Manual Menu option, then you can create your own Menu and add the hyperlinks according to your requirement.
    To create Manual Menu, please follow the steps below :
    1) In the Widget palette, go to "Menus" click and drag "Vertical/Hrizontal" into your artboard/workspace
    2) Click on the widget itself to a blue arrow appears to the right
    3) There is a drop down called "Menu Type" set it to "Manual" (as shown in screenshot) :
    4) Now You can create your own Menu and add your own text and hyperlink to  this Menu.
    Hope this helps.
    Regards,
    Sachin

  • How to change the text of a field in organisational assignment.

    hi gurus,
    how to change the text of field MSTBR (super visor) to a differnt name in info type pa0001.
    i have changed the field name in cmod , changed name appears in table.but it is not appearing in the info type screen 0001.
    how to resolve this pls help me..

    hi,
    The Field showing in the infotype 1 is FORPR.
    Change the text of this Field in CMOD.
    CMOD ->Go to ->tect Enhancements->keywords-> Change ->FORPR
    Change the text and check again.
    Regards,
    Manoj.

  • How do you change the text font on the Droid Global Phone

    How do you change the text font on the Droid Global Phone. I would like it to be darker (like bold)

    Hi.  
    Below I have provided you with the steps to change your font settings.
    From the main menu
    Select Settings
    Select Display Settings
    Select Font Style
    You can select from what is available, 
    Or you select [Get Fonts Online] to find something you want.
    Thank you,

  • How do you change the text color in your junk mail folder

    How do you change the text color in your junk mail folder?

    Try Mail Preferences/Junk tab and under " When Junk Mail Arrives" click Performe Custom Action then advanced
    you will see the option for colors.
    Hope this helps

  • How do you change the text color in io7 from white to black?

    How do you change the text color on the home page in iO7 from white to black?  I tried to invert the color but that reverses everything inclufing pictures.

    Yes, you can. If you change your wallpaper to a very light or white color the text turns black.

  • How do you change the text in portrait mode.

    How do you change the text in portrait mode.  I can edit it in landscape, but when I change the view the Latin and photos can't be edited and swapped with my material.  Thanks

    iBA should be approached like this:
    layout in landscape
    edit in portrait
    - -  check in both on your device
    Use the 'disable portrait orientation' option (Inspector/Document) for layouts you just don't see working in any manner but landscape.

  • How can I change the text   color in pages

    Hi , how can I change the text color in pages app

    Select the text you want to change.
    Tap the i in the top bar.
    Tap Style in the top bar.
    Tap the Font name/size
    Tap Color then choose the color you want the text.

  • HT3529 If you have an IPod touch, how do you change the text tones???

    How do you change the text tone on the IPod's Message???

    Open settings, go to sounds, and then your text tone settings should be there

Maybe you are looking for

  • The requested URL /mahjongtrails/ was not found on this server.

    Not Found The requested URL /mahjongtrails/ was not found on this server. Apache/2.2.9 (Debian) mod_jk/1.2.26 PHP/5.2.6-1+lenny4 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ruby/1.2.6 Ruby/1.8.7(2008-08-11) mod_ssl/2.2.9 OpenSSL/0.9.8g Serve

  • Java Security Configuration Assistant fails to install

    Hello, I have a problem because Oracle Application Server 10g for Windows doesnt install. I have tried several times on various systems, but every time I have the same error when the installer comes to the "Java Security Configuration Assistant" The

  • How to create the folder Dynamically?

    hello friends, I want to create a folder dynamically in the tomcat. how to do that in the java class. any ideas appreciated. thanx in advance, -bala

  • Trying to open an App_MIDIOVERLAN CP_crashes computer

    I have been trying to use a program on OS X on my second Mac (see specifications below) and cannot get it to work. It is a program called MolCp3 from MusicLab. It is used to network Macs and PCs together. I cannot get MolCp3 to work on my second Mac.

  • Connect to COM(OBJECTS/METHODS) FROM ABAP

    Dear all. How can I connect to COM objects/methods from abap? Could give me link to example.