Get two text boxes appear...

Hi guys.  Im trying to get to two areas of text to appear once a selection is made from a drop-down list. Two text boxes have been updated with the invisible and the formCalc is written under the change option in the drop-down list.  This does not work when I make the selection. Text boxes appear only once I make the choice to the second time and on the option I want that text areas is visible on.  -CV103 is my combo - CV107 & CV108 are my text boxes that I set to invisible.   I pasted my code below because I can't seem to get this right. Help, please!    root. P1.client.variable_option_client.cv103::change - (FormCalc, client) if (root. P1.client.variable_option_client.cv103.RawValue == 'Partner') then root. P1.client.variable_option_client. CV107. Presence = root "visible." P1.client.variable_option_client.cv108.presence = 'visible' to other root. P1.client.variable_option_client. CV107. Presence = root 'invisible '. P1.client.variable_option_client.cv108.presence = "invisible" endif thanks Joey

The problem is that the rawValue does not hold the value that you select to exit. If you want that the user has selected on the change event you xfa.event.newText... instead of Fieldname.rawValue

Paul

Tags: Adobe LiveCycle

Similar Questions

  • How to make a text box appear in a PDF file in InDesign CC when the cursor rolls over another area of text?

    I'm doing a text box appears in a PDF document in InDesign when the cursor of the user hovers over an another textbox, and I want it to disappear when the cursor moves off the coast of the first text box. I tried the following with adjustment of various, and it does everything just for me.

    Display a different button on turnover

    You can create a hotspot in which clicking or mousing over an object contains another object. To do this, create two buttons, hide one of the buttons and use the show/hide button action to show and hide the button target.

    • Create an object to use as the "source" button. In the buttons Panel, click the icon of the object to convert to A button.

    • Place the image you want to use as the button target and convert it to a button.

    • Select the target image and select hidden until this that triggered at the bottom of the Panel buttons.

      The image must be hidden in the exported document that can be displayed when the "source" button is clicked or wriggle on.

    • Click the source button and create two different actions, one for show the image target and target the other to hide the image.

      If you want the image to appear when the mouse is over the button source, use events on Roll Over and On Roll Off. If you want the image to appear when you click on the source button and disappear when you release, use events on a click and release. In both cases, use the show/hide action buttons to show or hide the target button. See the interactive buttons.

    • Use the Preview Panel to test the buttons.

    Should work...  On your last point (not 12?) I get the feeling that you have exported your doc as Adobe PDF (Print)? You must instead use (Interactive) Adobe PDF...

  • Text run horizontally through the two text boxes

    I am trying to run the text between the two areas of text, but in a continuous manner. Essentially, we have disclosed no claimed that crosses a spread. Someone, that is created is no longer here, two text boxes (one on each page) and has managed to take the text where the first line in the first text box has continued in the second text box and then wrapped into the first text box and then continued in the second text box and so on.

    So with the paragraph above text might hit the left text box to "Essentially" and continue to "we" the first line of the text on the right box. Go overboard and then to the second line of the left text box continuing to the second line of the text on the right box. And so on. I can't understand what they have done, but I'm sure it's something simple in InDesign.

    Note: these are areas of unique text, not two columns in a text box.

    Any help would be greatly appreciated.

    I see it. The text is flowing the way it does in mine. Who are soft return characters at the end of each line in the first screenshot, and # is a marker of the end of history. The lines were manually arranged and set frame on the left. This means that if you add a few words it will crumble.

    Yours, as is and after changing of Director Vice President:

  • How to validate and save the values to a combo box and two text boxes in flex4 mxml application with as3

    helllo all,.

    I'm working on the application web flex4 with as3.

    I have a doubt, I've created a mxml it has two text boxes, except the button and a combo box that is has two option as a percentage and the amount.

    my needs are I gave here.

    need 1: when I choose option amount that two text boxes does not have to be editable.when I select text tat box two percentage option will be editable.

    need 2: when I select the percentage in combox option and two text boxes are empty, and then click the button Save-> I want to display warning msg

    need 3: when I select the option amount combox and the two boxes are emptu click the button Save-> I don't want any warning messages.

    How to validate it and how to write backup for this function.

    any suggession or extract code is welcome.

    Thanks in advance,

    B.Venkatesan

    Looks like you are trying to do too much at once. Try to hang the events correctly

    The close event of the comboBox can do something like this

    protected function toggleTextEditing(event:DropDownEvent):void

    {

    If (this.optionCmb.selectedItem.label is "Percentage")

    {

    This.Text1.editable = true;

    This.Text2.editable = true;

    }

    Else if (this.optionCmb.selectedItem.label == "Number")

    {

    This.Text1.editable = false;

    This.Text2.editable = false;

    }

    }

    The button's click event can do something like

    protected function save(event:MouseEvent):void

    {

    If (this.optionCmb.selectedItem.label is "Percentage")

    {

    If (this.text1.text == "" & this.text2.text == "")

    {

    Alert.Show ("text is empty");

    return;

    }

    on the other

    {

    }

    }

    Else if (this.optionCmb.selectedItem.label == "Number")

    {

    }

    }

    If you can put in your entire code, maybe I can have a look to see if I can find something wrong with that.

    -Pramod

    http://www.flexmycode.com

  • A text box appears if a separate image is upside down?

    Hello

    Sorry if this is a stupid question, but I have searched for a solution to this problem:

    I made a gallery of images, and I want their descriptions below an image on rollover.  I also want to text boxes to stay under an images at the same distance on the page gets scaled down. If I have understood correctly, the text boxes must start below the image and stay on the same layer, so that they scale adapted in what concerns my images.

    Is there a way to make a sensitive layout and define a text box must appear as an image when the image is upside down?

    Thank you very much!

    Without seeing what you're trying to do, it is very difficult to answer. Have you tried to add the image and the description inside a container? Or maybe the ToolTip Widget can work for you, if you want the text to appear on mouseover or something.

  • text box appears for the accents on letters

    I have a new iMac dating a week who continues to appear in the text box for the accents and resumes typing (slowly). Support contacted today, they don't know, reset pram or something, no change. I have to restart the iMac to clean so I can type, takes about 10 minutes.
    Thanks, Geoff

    See: p-accent-window-when-typing-1305618 http://www.techradar.com/how-to/computing/apple/easy-mac-hacks-disable-the-pop-u

  • How would I get the text box

    Hello

    I want to use a text box, how can I get it? in the edit field or field of basic edition are all just displays as a line, but I need like a box

    Try this,

            BasicEditField txtuser = new BasicEditField("", "", 28, BasicEditField.FILTER_EMAIL)
            {
                private int iRectX = getFont().getAdvance(getLabel());
                private int iRectWidth = Display.getWidth() - iRectX - 2;
    
                public int getPreferredWidth()
                {
                    return Display.getWidth();
                }
    
                public int getPreferredHeight()
                {
                    return 30;
                }
    
                public void layout(int width, int height)
                {
                    super.layout(width, getPreferredHeight());
                    setExtent(width, getPreferredHeight());
                }
    
                public void paint(Graphics g)
                {
                    g.setColor(0x000000);
                    g.drawRect(iRectX, 0, 248, 20);
                    super.paint(g);
                }
            };
    

    IT looks like what you want.

    ------------------------------------------------------------------------------------

    Kudo press to say thank you to the developer.
    Also, press accept it as a button when you got the Solution.

  • How to make a one column instead of two text box?

    I inherited this document to someone else, and for some reason any instead of doing the entire page 2 columns, they made the two columns of text individual boxes. How to set the number of columns in a textbox control. I know how to adjust the columns on the entire page, but I don't know how you do in a text box.

    You can set an individual text by choosing object > text frame Options. On the general tab, change the number of columns.

  • I have a few groups of troubled spacing of text boxes. Someone at - it automated a way to distribute the space between groups of two text boxes?

    It of not much more to this issue. My format works like this:

    Title H2

    Explanation of H3

    Title H2

    Explanation of H3

    Title H2

    Explanation of H3

    I need to distribute these evenly text boxes towards the bottom of my page. It's a bit of pain to do manually. Since there are other objects on the page, spacing guidelines to throw out of whack. My safest way is to create a box, line it up at the bottom of the first group and the top of the other. Then repeat all the way to the bottom of the page.

    I thought to use a text box, but it was rejected. I need to have content pulled from other parts of the site. That is not possible with the single text box. In addition, it is easier to format individual text to text box.

    If someone has an idea, I'd love to hear it.

    Thank you.

    Yes, which makes it difficult. The only way I can see to get around it is to temporarily remove the 100% width, so you can group objects, and then come back them once you have changed the spacing.

  • Type alignment between two text boxes.

    Hello.

    I have a business card, needs to have two text blocks, in separate text boxes, align vertically.

    To make a long story short. I use InDesign to create a business card for "PageFlex" be used on "Four51. If the text variables change. Sometimes all three designations will be used, I.e., cell phone, fax. Other times only the telephone and/or fax numbers is used.

    The customer wants that the block of text on the left to align vertically, ALWAYS with the right hand of the block of text to the top line. Even if the right text block will change. E.g. telephone, Fax and laptop still will NOT be used. It may be that a single employee and the left text frame must adapt to align at the top. Either upwards or downwards to match the alignment of the right hand block.

    Here you can see two text blocks will align at the top. The right text block is "aligned to the bottom" in "vertical Justification".

    Screen shot 2012-02-01 at 11.51.00 AM.png

    Here, you see what happens when a line of text is deleted. I want that the block of text on the left to lower with the right text block so that they remain aligned.

    Screen shot 2012-02-01 at 11.51.16 AM.png

    Again, here's a deleted row. I would like once again, the left block of type lower with the right text block.

    Screen shot 2012-02-01 at 11.51.28 AM.png

    If it is not possible, it's ok. I'm not a guru type. It is not in my knowledge of InDesign. I tried with the text "linked" and "unrelated". I can't make it work.

    Thanks in advance for any help.

    Christian

    All you need to do is place the left as an anchored object frame on the top line of the right frame (before the word name).

    The left frame with then up and down with the top line.

    See you soon

    Lilia

  • How to create sharp lines between two text boxes?

    I create a book that is written by several people, and so I want to create a "chapter... author.

    Like this:

    Chapter 1... Jon Doe

    chapter2 ................................. Simon Harper

    so that these points have always the same distance.

    Help, please!

    Well, if your 'chapter' and your 'jon doe' is in the separate text boxes, then there is no easy way to do it. (You could draw a bunch of lines dotted, which isn't difficult, but the only way to standardize manually drag the lines around).

    However, if "chapter" and "jon doe" is in the same text box, separated by a tab character, then it is quite easy. Have you used a ruler before tab? This gives a test:

    (1) type a brief sample in a text area, like the one in your post, but instead of separate columns with points, simply use a single tab

    (2) select all text

    3) go to the Type-> tabs

    (4) I hope it sounds familiar to you (probably from MS Word, or maybe using a typewriter) but otherwise,.

    (4A), click once on the sovereign to insert a tab stop

    4 (b) type a question in the area of 'leader', and

    4 c) press Tab or Enter to confirm

    FYI, it's what you want, a 'leader' or a 'leader of dot. Knowing that he has called a "Chief" will help you find it in InDesign help.

  • A drop-down list box, two text boxes

    Hi all, I feel a bit silly to ask what she should be very simple, right? I have the a combo, the solution box a text down pat. For example when the user select name of the staff member in the drop down menu, it fills the phone number of this person in Textbox1.

    I would like to add to this so that when a user selects (and here I use false details) "Bob," he filled before his phone number in Textbox1 and "[email protected]" in Textbox2 simultaneously. Simply impossible to find the solution of anywhere.

    So far, I have used the code next (on the net) in the scripts of strike of the custom from the drop-down list box, but how I lay on it?

    (function () {}

    Do nothing if it is committed
    If (event.willCommit) return;

    Set up a table to hold the various paragraphs of the text
    var aQuotes = [];

    Fill the table with the text of paragraph
    aQuotes [0] = "bob phone"
    aQuotes [1] = 'sarah phone'
    aQuotes [2] = "phone linda".
    aQuotes [3] = "phone jerry."
    aQuotes [4] = "phone of mary".
    aQuotes [5] = 'phone jessie. "

    Get the selected item, which is the value of exports of the selected drop-down list box item
    var point = event.changeEx

    Display the text corresponding to the selected item in the text field
    getField("ITC_Phone").value is aQuotes [point];.

    })();

    Bravo guys.

    Like this:

    Custom script from typo to the drop-down list box (dropdown)

    (function () {}

    Do nothing if it is committed

    If (event.willCommit) return;

    Set up a table to hold the various paragraphs of the text

    var aQuotes = [];

    Complete the tables table of telephone and e-mail addresses

    aQuotes [0] = ['phone of bob', "[email protected]" ""];

    aQuotes [1] = ["sarah phone", "[email protected]" ""];

    aQuotes [2] = ["phone linda", "[email protected]" ""];

    aQuotes [3] = ['phone jerry', "[email protected]" ""];

    aQuotes [4] = ['phone mary', "[email protected]" ""];

    aQuotes [5] = ["phone jessie", "[email protected]" ""];

    Get the selected item, which is the value of exports of the selected drop-down list box item

    var point = event.changeEx;

    Display the text corresponding to the selected item in the text field

    getField("ITC_Phone").value = aQuotes [item] [0];

    getField("ITC_Email").value = aQuotes [item] [1];

    })();

    This code assumes that the value of exports of the items in drop-down list box is 0, 1, 2, 3...

    If there is much more that the aQuotes table should really be defiined in a JavaScript file at the level of the document if you are concerned about performance and maintainability.

  • I have a strange text box appear on my screen

    Hello

    I use Adobe Illustrator CS5, and it keeps setting up this strange text, almost like a translation box boxannoying.jpg

    I have never seen it before, but as someone who navigates illustrator almost exclusively with keyboard shortcuts, it makes the program almost unusable. I have to keep restarting the program, and he usually reappears within a few minutes of use. I don't know if I am accidentally by pressing a keyboard shortcut for it, but I can't get it on my work computer.

    If anyone knows what it is, and especially how to turn it off, it would be much appreciated!

    Thank you

    Thanks for your answers for later use, if someone else has this problem, it was my EMI set up to change the language with the hotkey "alt + shift", which I only really use in Illustrator, so I have now deleted the dictionaries that I don't use, and keyboard shortcuts.

  • Problems with text boxes appear in the browser as image files

    Instead of text, I can highlight, I get photo files on my site. . PNG to be exact. I'm not sure what I'm doing wrong in the muse. www.logicstreamnews.com is my site, it's getting close or ready, always ongoing. Any help would be great appreciated.

    It's because you are not web fonts, but the system that are displayed as an image online.

    When you use your font in muse, you have here the categories: web fonts, standard fonts, system fonts.

    Do not use the system more, if you want to have blocks of real text on the Web site.

  • Muse can make a sidebar text box appear/disappear on a roll?

    Hello Muse-ers,

    Wonder if the Muse can do what NYMagazine done with notes - is an example here:

    What folly am I think I know where is MH370? -NYMag

    If you go down a bit, you will see the Red underlined text [rhythm of perpetual chatter.1] and a reference Exhibitor number. Or hover over the underlined text or reference number and the text of the note appears in the margin to the left. Keep the text or number and the text of reference disappears.

    Muse can do that? If Yes... the advice would be very appreciated.

    Thank you

    Bradley

    You can use the widget 'Tooltip '. Simply place the trigger on the text you want to highlight.

    Make the opacity of 1% of trigger to disappear (but easy to score in Muse, if you 0%, it is more difficult to select in Muse).

Maybe you are looking for

  • HP LaserJet MFP M225dw Pro: Cannot install hp HP LaserJet MFP M225dw Pro software

    Using the menu scan on HP LaserJet Pro MFP M225dw, I want to be able to choose Scan to PDF, but it is not available.  I downloaded the hp for Windows 10 software but still get an error message after it gets to 99%, saying she was taking too long to i

  • Windows DVD Maker will not accept video files

    Hello I used Windows dvd Maker in the past to convert and burn avi files to a dvd that can be played in my dvd player.  Today when I inserted a video avi in DVD Maker I get the following message: "0 files have been added.  1 file could not be added. 

  • disk is protected from writing

    I'm trying to back up my files on a dvd - rw nine using the automatic backup of windows. When it promts me to format the disk for the file system direct it says 'is write protected disk '. He does not seem ready to let format me it with "mastering" b

  • All programs try to open with Windows Media Player

    Original title: programs openingwith a file... ?? All the programes not open to its default application its opening with a single application that is to say, the Windows media player. If any of my files opens his will all windows media player and say

  • AppPortal of session Timeout

    Hello Is it possible for a timeout of session in AppPortal or is this only possible with Web interface? Thank you Marc