Help make the text visible so click on the button

Hello

I am new to livecycle designer and have very little experience with scripts.

That's what I want to do:

I inserted a button on a form. When the button is clicked I want to make a text box read-only containing information useful and visible.

I don't know about the editor script etc and my form is saved in a dynamic form - I don't know what script to write!  Previously, I managed to make a visible text box when a box is checked, but so far I could not find how to make the text appears when a button is clicked: it's the syntax with which I struggle. Any help is appreciated!

Thank you very much.

It comes to FormCalc on the click of the button or checkbox:

If ($.rawValue == 1) then

TextField1.presence = "visible".

Tags: Adobe LiveCycle

Similar Questions

  • Help make the second image in the slideshow load a button.

    Hello world.

    Can someone help me with the actionscript code to one of my images in a slideshow (whose images are linked externally through actionscript)

    load a button which is accessible only when this specific image is displayed.

    for example-image 1 - No button but image 2 has the button, button 3-no image, image 4, no button... and so more.

    Here is my script for the slideshow and prev buttons and following

    var totalSlides:Number = 6;
    var currentImage:Number = 0;
    var imagePath:String = "images/ad";
    var imageName:String = "announcement";
    var imageExt:String = ".jpg";

    var adImages:MovieClipLoader = new MovieClipLoader();

    function loadSlide() {}
    adImages.loadClip (imagePath + currentImage + imageExt, "adImages_mc");
    }

    loadSlide();

    this.prevSlide_btn.enabled = true;
    this.prevSlide_btn._alpha = 100;

    this.nextSlide_btn.onRelease = function() {}
    _root.prevSlide_btn.enabled = true;
    _root.prevSlide_btn._alpha = 100;


    If (currentImage < (totalSlides - 1)) {}
    currentImage ++;
    loadSlide();
    }

    If (currentImage == (totalSlides - 1)) {}
    _root.nextSlide_btn. Enabled = false;
    _root.nextSlide_btn._alpha = 50
    }
    }

    this.prevSlide_btn.onRelease = function() {}
    _root.nextSlide_btn.enabled = true;
    _root.nextSlide_btn._alpha = 100;

    If (currentImage > 0) {}
    -currentImage;
    loadSlide();
    }

    If (currentImage == 0) {}
    _root.prevSlide_btn. Enabled = false;
    _root.prevSlide_btn._alpha = 50;
    }
    }


    Im a beginner but know some actionscript.

    I really appreciate the help.

    Thanx

    I guess that the button that you want to display is not indicated for anywhere in the code that show you.  What you can do, is make the button visible/invisible in the function loadSlide.  This assumes that currentImage = 1 is the second image, change only if it is actually 2.

    function loadSlide() {}
    adImages.loadClip (imagePath + currentImage + imageExt, "adImages_mc");

    if(currentImage == 1) {}

    certainButton._visible = true;

    } else {}

    certainButton._visible = false;

    }
    }

  • Make the button invisible when flv starts again

    Hello

    Please, is - can anyone help me and tell me how do to have a button instance become invisible when you click the play button on the skin.swf file? Maybe there is another way to do what I'm doing.

    I have a Flash 8 file with a pointing to an FLV file FLVPlayback component. I use an outer skin for controls. When the video ended I displaying a button, but if the person wants to play the video again the button must again become invisible. I guess I need to create an actionscript that says: If the video is in progress (at all) the button is invisible. But how?... is the big question for me.

    Any help would be great.

    Thank you
    thepopguy

    This is possible. You need actionscript to check the status of the video, if it plays then the button is invisible. This is what we call an event listener. You must give the component an instance name - like vid. Then, use this code on the frame:

    Wait reading sequence
    var vidList:Object = new Object();
    vidList.playing = function() {}
    Button1._visible = false;
    other actions go here
    }
    vid.addEventListener ("play", vidList);
    stop;

    Listen to movie stop
    var vidList2:Object = new Object();
    vidList2.stopped = function() {}
    Button1._visible = true;
    other actions go here
    }
    vid.addEventListener ("order", vidList2);
    stop;

    ============
    This code will actually listen to the playback of the sequence, and then it will make the button invisible. He listens for the film to stop, and it makes them visible again.

    Sample:
    http://www.johnkalnin.com/FlashHelp/vid-isPlaying-Inv.html

    Flash 8 source:
    http://www.johnkalnin.com/FlashHelp/vid-isPlaying-Inv.fla

  • Make the button load words from the list

    Hey guys!


    Just a note, I don't know about programming and I am new to Flash so please tell you the possible answers in the most simple way, thanks!

    So I do an application that when you click a button, it will be to randomly select a who, what, when, where and why from a list that I do.

    So say there's a button that says new idea.

    When I click the button it is:

    Who:

    Who:

    When:

    Where:

    Why:

    Say a small list of who's 1, 2 and 3

    A small list of what is 4, 5 and 6

    A small list of when is 7, 8 and 9

    A small list hence is 10, 11, 12

    And a small list of og is why the 13, 14 and 15

    How can I do so when I click on the new button idea it (by chance), will select one who, what, when, where and why of their list?

    Please help tell me what to do to make the button do place a word in a list, to what I'm asking!

    Please, I beg you!

    Thank you!!!

    To make a random selection from a list, you must first have the list.  A table is a good list, so for each category, create a table and fill each with any choice you intend.

    For the an elements to choose randomly from the list, you can use mathematical methods taken Actionscript supported by.

    var whoList: Array = [1,2,3];

    var randomWho = whoList [Math.floor (Math.random () * whoList.length)];

    Please do not start new assignments for the same topic

  • How to make the button to set the properties of auto-scale one of the Axes on the graphical indicator so I can turn on or off when I press on it. In the Labview web UI designer

    How to make the button to set the properties of auto-scale one of the Axes on the graphical indicator so I can turn on or off when I press on it.

    I need to change the adjustment vaguely Autoscale property for my graphic indicator. Can someone help me please.

    Thank you!

    Hello

    I have confirmed that there is currently no way programmatically enable/disable autoscaling for axes on the LabVIEW graphical indicator generator of the user Web interface. We noted this to possibly be implemented in the future; Sorry for the inconvenience.

  • Need help for the button to trigger on the text caption effect

    Hello world

    I work in

    Screen Shot 2016-04-13 at 12.52.31 PM.png

    on a Mac (chart below)

    Screen Shot 2016-04-13 at 12.53.04 PM.png

    I'm very new to Captivate (only my second week), but am familiar in other Adobe programs. I'm trying to get a dynamic object that I made in a button to trigger an effect on a text caption. I scrolled the forums here and tried various things of the advanced actions for just using the drop down menus in the property inspector and nothing that I tried gives me the result I want.

    Here is a screenshot of what I'm working with.

    Screen Shot 2016-04-13 at 12.54.37 PM.png

    What I want to do is for the arrows for the buttons (and they are currently). When the slide appears first I don't want that image and the arrows visible. So when the user clicks on the arrow, I want the effect I chose (spiral) that will be triggered with the corresponding text.

    Looks like my property for each caption Inspector (the names are different for each)

    Screen Shot 2016-04-13 at 12.58.03 PM.png

    And I also tried to write a few advanced Actions that follow as well as tutorials that I found online, and nothing gives me what I want.

    When I preview the slide I can see everything on entry and then when I click the button to apply the effect. I rechecked the advanced actions and usually when I try these nothing happens at all.

    Is - it there anyway that I can get that works this way, I'm wanting. It seems that it should be simple and I'm right on it.

    The shape of buttons are all pause at this moment, it's OK.

    I just tried it out and see what you mean. The text is there from the beginning, and that shouldn't be the case. you expect it not to appear when the button is clicked. I have never used this spiral effect myself, but since you have no control over it, I mean you can't see where starts the effect at all, there is no visible path you have with the other effects of the entry. Either, you need to create a custom, effect whose path begins with text outside the scene, or a combination of an Alpha to + a standard entrance effect.

    Tried the first one with a simple left to a straight path. I edited the paths so that they all start at the same position horizontal and end at the same horizontal position. So happy with the leaders and Guides that we finally got in Captivate, they are very useful for this type of design:

    It's the chronology:

  • Script to make the button stay on State hit until the other is clicked!

    Hello

    Got a little problem that I can't solve.

    I have a line of 5 buttons including each links to a different page. These buttons are currently in a clip.

    However, I would like to create an effect where when a user clicks on it remains highlighted. that is still on the State of success, until the user clicks one of the buttons.

    I would have thought it would be somethink that I could find online, but carnt seem to find anywhere.

    I found the code to make a point to stay on when you click on it, but it works on its own in the entire movie clip, so it has no effect when you click on other buttons on!

    Have tried the script below, but I'm sure that this will not work because it is not a link to the other buttons at all.

    on {(press)

    if (this ._currentframe == 1) {}
    this.gotoAndStop (2);
    { } else {}
    this.gotoAndStop (1);
    }
    }
    Thanks for any help!

    You are welcome.  Here is a slightly condensed version of the same thing...

    var lastBtnUsed;

    Btn1.onRelease = btn2.onRelease = btn3.onRelease = btn4.onRelease = function() {}
    processBtns (this);
    }

    function processBtns (newBtn) {}
    If (lastBtnUsed! = null & lastBtnUsed! = newBtn) {}
    lastBtnUsed.gotoAndStop (1);
    }
    lastBtnUsed = newBtn;
    newBtn.gotoAndStop (2);
    }

  • Microsoft helps make the windows for students genune?

    Genuine Windows is not available and its way too expensive for us students here in the Nepal.
    I had somewhere that Microsoft helps make real windows.
    How can I do?

    Unfortunately, no, you buy a genuine license if you need. You can get Windows 8 for a steep discount until January 31:

    http://www.Windows.com/buy

  • Using "Keylines" to help make the titles broadcast safe in Premiere Pro

    Hello

    I use the following great link provided by Bill Hunt to help make downrezzed to look reasonably good SD HD titles.

    http://library.CreativeCOW.NET/articles/hodgetts_philip/titles.php

    I have a question about the screenshot below, taken from the link above:

    Screen shot 2011-05-17 at 7.06.45 PM.png

    I understand the notion of "keylines" here, but I'm not sure how to make that happen within my title options menu.

    Does have another name in Premiere Pro?  My search for "keylines" in the Help menu has been in vain.

    In addition, in this context, the "80-204/204/204" numbers mean mean?

    Thank you!

    Matt

    No, probably just outside. They are useful here, while the Interior would be just if you need a specific look.

    The numbers, by the way, are the RGB values.

  • Need help on the button for the click count thing!

    Right now I have a button that whenever I click on it, it adds 30 seconds to a countdown.  I also want the button followed by clicks so that whenever you click on it it ajoute.01 to a total which starts at 0.   That's what I got from the code so far...

    bidbutton.addEventListener (MouseEvent.CLICK, addTim e);

    function addTime (e:MouseEvent): void {}
    TOTAL_TIME += 30;
    }

    Any help would be appreciated!

    It could be as simple as what is below according to your design...

    clicks: the number of var = 0;

    bidbutton.addEventListener (MouseEvent.CLICK, addTim e);

    function addTime (e:MouseEvent): void {}
    TOTAL_TIME += 30;

    Click on + = 0.01;
    }

  • Help make the smaller Editor window

    I just installed items 12 andwhen I open a photo in the Editor window is too large, that vertically and mask the tool on the background options, so much so that I can't use the diagonal arrow move the tool in the lower right.  How can I make the smaller window? I can make the smallest window of horizontally but not vertically.

    What is the resolution of your computer screen?

  • Need HELP, make the car in this picture that does not decompose. Thank you! (fast as can)

    [ [URL =http://www.part.lt/perziura/59db0ff4651f4481973095a18398de7c860.jpg] [IMG] http://www.part.l t/img/59db0ff4651f4481973095a18398de7c860.jpg[/IMG][/URL]
    Please make the car in this picture that does not decompose, thank you so muuch

    Try a combination of choice, clone and healing tools.

  • Need help with the button mute on my helmet XL-3000 of Microsoft Chat, please!

    Hi all!  Hope everyone is having a good TGIF!  If you use my helmet even, I need help understanding the region button mute in the middle of the rope.  The red light is on or off?  I suppose that if I hit the curve button with the microphone on this subject, and the red light, I'm turn off my mike?

    I did some tests with others on the phone calls.  Sometimes, some other hear me, sometimes they do not have.  BUT I NEVER HEAR THEM!  FOR MY WORK, IT IS IMPERATIVE THAT I MAKE CALLS TO OTHERS!  HELP PLZ!  Thank you very much and have a great wkend!

    Hello
     
    Please follow the links below to troubleshoot the computer.
     
    Method 1
     
    Connect one microphone, music player or other audio device to your computer

    Method 2

    Step 1

    Troubleshooting: headsets

    Step 2

    Open the troubleshooting of Audio recording

    Method 3

    How to adjust the microphone volume

    a. click Start, type mmsys.cpl in the search box and press ENTER.
    b.
    in the sound dialog box, click the recording tab.
    c. click Microphone, and then click Properties.
    Note Make sure that the work appears under Microphone. If the job does not appear, click Microphone, and then click on set as default.
    d. the Microphone Properties dialog box, click the custom tab.
    e. select or clear the box amp Microphone.
    f. click the levels tab.
    g. set the volume to the desired level, and then click OK.
    h. click OK to close the sound dialog box.
     
    How to adjust the setting of the voice
     
    a. start the game.
    b. connect to LIVE (the Guide).
    c. click personal settings.
    d. click on voice.
    e. make sure that the recording volume level indicator records at a bar when you talk.
    f. click done.

    If you are still facing problems then, I would say that you contact support for Microsoft hardware for more direct intervention.


    I hope this helps.

     
  • Make the button not read back symbol

    I'm sorry for everything that you Pro Edge there.

    I had a Flash designer for many years, but never a great coder, but is now trying to get on board.

    IM start with something very simple.

    4 buttons that play releated symbols with my ways caveman able to make it work.

    * Except that after the symbol shows. I can click on the new button and the symbol goes to 0, clicking again and she plays again. Is there a simple way that after I clicked the button to read the symbol that I can not click on the button again after the symbol is done playing.

    I hope that one of you will not want to help out me.

    Thank you!

    Eggert

    Here are my files

    https://DL.dropbox.com/u/2093612/button_troubles.zip

    You can use unbind().

    See your publication with unbind() - look in the window code to see composition ready, then at the beginning of each symbol.

    https://www.dropbox.com/s/xq6q6txnbdza0je/button_troubles.zip

  • How to make the buttons doesn't work in every scene?

    Hello

    I created four separate buttons (actionscript3) and I coded each button so when one is active, it climbs to a different scene. The four buttons are present on all the stages (I copy - paste all the buttons of the original scene at each additional stage) so I was hoping that, whatever the stage, the user can click on each button to operate. Each button works on the first click (the first stage), but the question is when that one is turned on and the buttons, it climbs to a new scene is no longer are clickable (roll over the State remains functional, but none of them work to be clickable to access another scene). I copy / paste my code used below, I hope this question makes sense, I want to just that my buttons to work independently of the scene. Thank you!

    Here are the codes that I used, I placed it on the first frame of the first scene:

    tulip_btn.addEventListener (MouseEvent.CLICK, onClick);

    function onClick(e:MouseEvent) {}

    gotoAndPlay (1, "scene 2");

    }

    rose_btn.addEventListener (MouseEvent.CLICK, onCami);

    function onCami(e:MouseEvent) {}

    gotoAndPlay (1, "scene 4");

    }

    lily_btn.addEventListener (MouseEvent.Click, onLily);

    function onLily(e:MouseEvent) {}

    gotoAndPlay (1, "scene 5");

    }

    poppy_btn.addEventListener (MouseEvent.CLICK, onPoppy);

    function onPoppy(e:MouseEvent) {}

    gotoAndPlay (1, "scene 6");

    }

    When you go to another scene, it's as if it's a new button, which does not have the mouse listener. If you were using a movieclip instead of a button, you can place the script inside the movieclip. It would be wise add the listener when the movieclip is added to the scene and remove the listener when it is removed.

    There is a different way, you may work well. You can name your buttons and the same scenes. Then, in the intro scene, you could have a script like this:

    import flash.events.MouseEvent;

    Stop();

    stage.addEventListener (MouseEvent.CLICK, clicked);

    function clicked (e:MouseEvent) {}

    gotoAndPlay(1,e.target.name);

    }

    Now you can copy the four buttons, which might be called rose, Lily, Tulip, poppy, and clicking on any one of them would you bring to the scene with the same name.

Maybe you are looking for