Hide the Textbox when you click on buttons

Hi all

Im trying to create a form to our customer service representatives to make their life easier. Which is a plus for me.

I tried Googling and playing with scripting Validation and nothing seems to work.

Here's what I'm trying to accomplish.

There are 3 radio buttons (credit, repair and replacement), I need to have the possibility of having only 1 of the selected three

So if a button is clicked it would make a series of text boxes and text visible and hide others

I can't mention how to proceed.

Found this article, but im not sure if it applies. IM using Acrobat X Pro.

I have acutally thought of it earlier

var f = this.getField ("c1");

var g = this.getField ("Text2");

If (f.value == (2)) # changed that "if (f.value is"YES") #

{

g.Display = display.hidden;

}

on the other

{

g.Display = display.visible;

}

If (event.value == 'Yes') { ##Changed that "if (event.value == 'YES') {} ' # }

this.getField ("Hidden_Field") .display = display.visible

} else {}

this.getField('Hidden_Field').display = display.hidden

}

Thanks for the reply so :-D

Tags: Acrobat

Similar Questions

  • How to hide a TextField when you click another button

    Hello!

    I was able to generate a TextField appear when you click a button, but when I click on another button, to display further information, I have still the first TextField shows.  I had a quick glance, but not managed to find something to help me get the first to disappear.  Can anyone provide ideas for this?

    The code I am using to display the TextField object is:

    Button10.addEventListener (MouseEvent.CLICK, fl_ClickToPosition);

    var fl_TF:TextField;
    var fl_TextToDisplay:String = "send the right projector/screen disply";

    function fl_ClickToPosition(event:MouseEvent):void
    {
    fl_TF = new TextField();
    fl_TF. AutoSize = TextFieldAutoSize.LEFT;
    fl_TF. Background = true;
    fl_TF. Border = true;
    fl_TF.x = 300;
    fl_TF.y = 100;
    fl_TF. Text = fl_TextToDisplay;
    addChild (fl_TF);
    }

    Thanks in advance

    use:

    Button10.addEventListener (MouseEvent.CLICK, fl_ClickToPosition);

    var fl_TF:TextField;
    var fl_TextToDisplay:String = "send the right projector/screen disply";

    function fl_ClickToPosition(event:MouseEvent):void
    {

    if(fl_TF&&fl_TF.parent) {/}

    fl_TF.parent.removeChild (fl_TF);

    fl_TF = null

    }

    fl_TF = new TextField();
    fl_TF. AutoSize = TextFieldAutoSize.LEFT;
    fl_TF. Background = true;
    fl_TF. Border = true;
    fl_TF.x = 300;
    fl_TF.y = 100;
    fl_TF. Text = fl_TextToDisplay;
    addChild (fl_TF);
    }

    Thanks in advance

  • How can I make an availability calendar as they use in the touroperater Web sites. A calendar when you click a button, it displays the dates available for booking? Or do I need a database for that?

    I m busy doing a site for a touroperater. I'm trying to figure out how to do an availability calendar. When you click a button, it will display a calendar where you can choose a date where you wish to arrive and when you leave. When you´ve does this, it will show you whether or not your choisen dates are available.

    I hope I have made myself clear with this question.

    Hello

    Take a look at this topic, discussing the same stuff,

    Appointments available for a site of Muse?

    Please let us know if yous until cases of doubt.

  • rolling keys move to the right when you click

    http://kimberleystarmoore.com/wendysawesomeart/index.html

    The top menu buttons have been created using the "insert rollover buttons" in the insert icon > images: flipping image toolbar.

    However when the user clicks on the button HOME. the REMARKS and the GALLERY buttons momentarily move slightly to the right. This also occurs when you click the ABOUT button, the GALLERY button momentarily moves slightly to the right.

    How can this problem be fixed?

    Thank you

    KM

    See this code:

    .primary-nav a:active{
         margin-right: 5px;
    }
    

    Delete it.  The: active pseudo-device class is what happens when you click on something, so you add 5px to the right when you click.  I would also recommend removing the old doctype commented.  Is really not keep it on your page.  And finally, on the CSS document for "a: visited ', 'fat' is not a valid attribute for 'font-size '.  You can change it to 'font-weight' or change the size to a size.

  • catch the event when you click on the cross of closing

    Hello

    How you catch the event when you click on the cross of closing?

    Thanks in advance,

    Fred

    Discover the reminders of events management of window on page 122 of the Guide to Javascript Adobe pdf tools.

    You want something like:

    myWindow.onClose = function() {}

    your code goes here

    };

    or

    myWindow.onClose = myCloseFunction;

    function myCloseFunction() {}

    your code goes here

    }

  • Change the window when you click on checkbox.

    InDesign 3 (5.0)

    ScriptUI (Javascript) in the XP box.

    Try to get a window to show more control when you click on a checkbox and then hiding when it is not checked.

    I tried to create the additional controls to create and then hide them, but this is not of course redraw the window. I'd rather have the window redraw and the layout manager control the position of controls, because they are added or removed. Then I did not empty in my window spaces when the additional controls are not displayed.

    #target "inDesign - 5.0;

    #targetengine "session."

    main();

    main() {} function

    var myWindow is new window ('pallet', 'Signs');.

    myWindow.alignChildren = 'left ';

    buttonGroup var = myWindow.add ('group');

    var makeSignsButton = buttonGroup.add ('button', undefined, "Make signs");

    makeSignsButton.alignment = 'left ';

    var printGroup = myWindow.add ('panel', undefined, "Signs of impression");

    printGroup.orientation = "row";

    var advancedCheck = printGroup.add ('checkbox', undefined, "Advanced");

    allRadio var;

    var currWeekRadio;

    var nextWeekRadio;

    var printSignsButton = printGroup.add ('button', undefined, "Signs of impression");

    advancedCheck.onClick = function() {}

    If (advancedCheck.value == true) {}

    allRadio = printGroup.add ("radiobutton", undefined, "All");

    currWeekRadio = printGroup.add ("radiobutton", undefined, "Current of the week");

    nextWeekRadio = printGroup.add ("radiobutton", undefined, "Next week");

    }

    If (advancedCheck.value == false) {}

    printGroup.remove ("allRadio");

    printGroup.remove ("currWeekRadio");

    printGroup.remove ("nextWeekRadio");

    printGroup.remove ("advancedCheck");

    }

    } / / end "advancedCheck.onClick"

    makeSignsButton.onClick = function() {}

    var confirmWindow = confirm ("Do you want to make signs", "Confirm signs to");

    myWindow.close ();

    } / / end of makeSignsButton onClick event handler.

    printSignsButton.onClick = function() {}

    var printConfirm = confirm ("Do you want to print signs?", "Confirm print");

    If (printConfirm == false) {}

    return;

    }

    } / / end "printSigns" onClick callback

    myWindow.show ();

    } function //end 'hand '.

    Once you change the arrangement of windows, add myWindow.layout.layout (true)

    call the layout manager.

    Ariel

  • Can see is more videos on the internet when you click on the arrow of reading, it becomes just a black screen.

    Original title: can see more videos on the internet is

    Since last week, my computer won't play any video on the internet. When you click on the arrow of reading, it becomes just a black screen.  I can always download movies from netflix.  I uninstalled adobe Flash Player and reinstalled and still does not work.  Someone at - it answers? Thank you!

    Hello

    Yes, it will work.
    However, when you try to open something on the internet, it opens with the default browser.
    Method 1: You can make the default Internet Explorer browser and then perform the troubleshooting steps.
    Reference:
    Change the web browser by default
    http://Windows.Microsoft.com/en-GB/Windows-Vista/change-your-default-Web-browser

    Method 2: Since then, it was working fine before, you can restore the computer to a date when it was working fine.

    Reference:
     
     
    If online videos play fine in Internet Explorer and cause problems only when you play in Mozilla Firefox, you can ask your question in the Forums in Support of Firefox as well:
  • Stop the movement of the cursor when you click on the field

    Hey there,

    I am trying to find a way to stop the trackball to move the focus around a bunch of fields I have in a custom handler that I created. I want that the development movement will not apply when the user clicks on a field, with emphasis.

    The reason why I want to do is to move this autour field and NOT the focus.

    Is it possible to implement this switching between the two?

    Thank you for your help.

    NavigationMovement to implement in these areas. Set a Boolean inside this field switch when you click on it, and then, in navigationMovement, check that then call your special treatment and return true or return super.navigationMovement.

  • I have several symbols, how can we showed above the others when you click it?

    I have an animation that is a City/Beach/sea, and different parts of the city are symbols that can be clicked on, for example a boat in the sea could be clicked that would then lead the boat. My problem is that the boat could grow to fill the screen, then the animation playing, but as there are many other symbols, then another symbol could be on top of the animation clicked on / reading. Ideally when each animation is clicked, it would move to the top of the list of layers, but I guess that's not possible, so I was wondering if anyone had a better way to do this?

    You need to change the z-index when you click on a higher level and return it to its original level when it ends, or when the user clicks on another symbol.

  • How to get the event when you click Add another button in a table.

    Hello
    How to recognize the event in processFormRequest click on the button Add another line of the footer of a table?

    Suppose if the ID is anotherRow (I mean ID of the button to add another line of the footer)

    If I give if (pageContext.getParameter ("anotherRow")! = null)... its not recognizing the event that is returning null only...

    I want to perform certain actions when the user clicks Add another line of footer. Please let me know the details of how identify when add another line is clicked...

    Thank you
    Srikanth

    Hello

    If you have only one table with add_row_button, and then copy the following code works perfectly

    If (tableBean.getName () .equals (pageContext.getParameter (SOURCE_PARAM)))
    (& ADD_ROWS_EVENT.equals (pageContext.getParameter (EVENT_PARAM)))
    {
    ...
    }

    tableBean is the Handle for your advanced table, hope, it will help you.

    Kind regards
    Out Sharma

  • submit the form when you click the shortcut button

    At the minute I have 2 buttons on the popup each sends the form and assigns a different value for a particular column. How can I get the original window with the form to submit (the record was created) and when one of these buttons are engaged on the popup. This popup would also end the click of a button...

    Thanks in advance

    Stefan

    Stefan,

    Take a look at this example:

    http://Apex.Oracle.com/pls/OTN/f?p=31517:50

    Denes Kubicek
    -------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Opal-consulting.de/training
    http://Apex.Oracle.com/pls/OTN/f?p=31517:1
    http://www.Amazon.de/Oracle-Apex-XE-Praxis/DP/3826655494
    -------------------------------------------------------------------

  • Navigation of Firefox 13.0.1 bar changes the height when you click tabs

    Only happened today, no changes made to the system.
    When I click on a tab, the height of the Navigation toolbar icons icon decreases to a square for half a second and then returns to the height the deeper (rectangle). What makes the page below the menu jump bar. Rather distracting.
    Hide the Navigation toolbar obviously solves the problem, but is not practical for obvious reasons.
    The people of ideas; someone at - he heard of this before?
    Thanks in advance,
    Mike.

    If you close Firefox, and then start Firefox in Mode without failure, in the problem? To start Safe Mode, go to help > restart with disabled modules.

    If the problem does not occur in Mode safe, then you can disable your extensions one by one until you find out that one is at the origin of the problem. See Troubleshooting extensions and themes and problems of hardware acceleration to resolve common Firefox problems.

  • Folder open icon flies off the screen when you click on

    When you open outlook Ribbon, the file disappears from the screen and I can't capture the file to work with her.

    When you open outlook Ribbon, the file disappears from the screen and I can't capture the file to work with her.

    Hello

    The most common reason for this behavior is that the system has had a second monitor attached in the past and it is is no longer connected to the computer.

    Right click on the desktop, and then select the Screen Resolution.

    You see a "multiple monitors" section just below the screen orientation button?

    If you do, first of all, click on the set button, in the upper-right of the window. You should see a big number "1" appears on the screen.

    Then, click the drop-down menu expand these screens .

    Click on the item in Office show that on 1 .

    Click Apply/OK.

    Close this window and try to reproduce the problem.

    Let us know the results.

    Thank you for using Windows 7

    Ronnie Vernon MVP
  • Error when you click this button a second time

    Hello

    I practice a tutorial of the OFA. Under PageLayoutRN, I have a (Style area = query) QueryRN, below I have a ResultsTable (region Style = table). Screenshot below.

    After the launch of the JDeveloper page, I am able to run the query only once. Without exit and re-open the page if I click on the Go button (with or without changing the query criteria), or if I click on the delete icon I get the below error.

    "You try to access a page that is no longer active. -the referring page could come from a previous session. Please select home to proceed. "

    A MACCHECK message is saved in FND_LOG_MESSAGES. (Message text provided below).

    I compared my code with the Labsolutions that comes with the patch OAF - I don't see anything significantly different, regardless the fact that my QueryRN was the game controller properties that I finally removed. Except that when you create a VO and EO I ticked the box a little more Java classes. Apart from that inadvertently I created Sanjay15SearchEOImpl in sanjay15.oracle.apps.fnd.searchdemo.server (and not schema.server).

    The error messages, is there a simple way to find out what I missed.  At least if I can understand the object likely to cause this type of error if might be useful.

    FND_LOG_MESSAGES - ERROR_STACK.

    < empty >

    FND_LOG_MESSAGES - CALL_STACK.

    • oracle.apps.fnd.common.AppsLog.write(AppsLog.java:1531)
    • oracle.apps.fnd.framework.server.OADBTransactionImpl.write (unknown Source)
    • oracle.apps.fnd.framework.server.OADBTransactionImpl.writeDiagnostics (unknown Source)
    • oracle.apps.fnd.framework.server.OADBTransactionImpl.writeDiagnostics (unknown Source)
    • oracle.apps.fnd.framework.webui.OAPageContextImpl.writeDiagnostics (unknown Source)

    ----

    ----

    FND_LOG_MESSAGES - MESSAGE_TEXT.

    MACCHECK:. Lack of validation parameter is: Column1. Parameter 'Column1' Validation failed.

    Value obtained from the request object is an incoming URL is: /OA_HTML/OA.jsp?page=/sanjay15/oracle/apps/fnd/searchdemo/webui/Sanjay15SearchPG & Searchtypes = search & fwkQBSearchTypeSource = / sanjay15/oracle/apps/fnd/searchdemo/webui/Sanjay15SearchPG__QueryRN__0 & _ti = 551384085 & retainAM = N & addBreadCrumb = N & OPair = 4 & SV = d41k-CiKvVCK56Dwh5gkeA....

    Current URL is: /OA_HTML/OA.jsp?page=/sanjay15/oracle/apps/fnd/searchdemo/webui/Sanjay15SearchPG & Searchtypes = search & fwkQBSearchTypeSource = / sanjay15/oracle/apps/fnd/searchdemo/webui/Sanjay15SearchPG__QueryRN__0 & _ti = 551384085 & retainAM = N & addBreadCrumb = N & OPair = 4 & SV = d41k-CiKvVCK56Dwh5gkeA....

    Referer URL is: http://a15806.numatic.root.local:8988/OA_HTML/OA.jsp?page=/sanjay15/Oracle/Apps/FND/searchdemo/WebUI/Sanjay15SearchPG & Searchtypes = search & fwkQBSearchTypeSource = / sanjay15/oracle/apps/fnd/searchdemo/webui/Sanjay15SearchPG__QueryRN__0 & _ti = 551384085 & retainAM = N & addBreadCrumb = N & oapc = 3 & oas = Ifu7p1jh2WpZ3UCIO1gZIw .. .

    HTTP request method is: POST

    Screenshot:

    Start Jdeveloper fron page, enter the query criteria and click OK. The query is successful.

    Click on the Go button (with or without changing the query criteria), or click the delete icon - error message

    Thank you

    Sanjay

    Hello Sanjay

    Please, check the following:

    1 profile option: FND_VALIDATION_LEVEL is set to None

    2. you have the right version of Jdeveloper installed.

    3. also make sure to run the local page with this setting in jdev: Tools-> preference-> Embedded OC4J--> host name or the IP address used for referring to Embedded OC4J--> this must be set to--> by default the local IP address.

    Kind regards

    Zahid

  • Introduce the function - How to Pick up address of the contractor when you click on submit.

    Hi guys,.

    Currently, I work on the COMPUTER helpdesk at UWS and would like your help to change some of our existing Access IT forms.

    Currently, we have a function submit on our forms when you press will verify that some required fields are filled and sends an email in our ticketing system (just a mailto link: [email protected])


    The problem we are facing is requests come to us without approval so that we have to communicate with supervisors and check if the forms submitted by their staff are approved; a lot of your time

    I thought, this is:

    When the user clicks the Submit button, which picks up the e-mail address entered in the "E-mail address" under Details of the supervisor.

    The emails then the form of the master to work with text that reads:

    Dear supervisor,

    Could you please indicate if you agree with the Access IT form (attached). If you agree please send this message to [email protected] (wording is not serious I can play with it, more the coding behind the button)

    I was unable to find a way to reach our form in its current state. If you could let me know how to proceed, I will attach it (can only find contact picture or video)


    Can you please investigate if it is possible for me? I have little or no knowledge of Java code or whatever it is, that these things run on.

    Kind regards

    Rob

    [email protected]

    Thanks sidonie.

    I appreciate your efforts!

Maybe you are looking for

  • "services.msc" shows almost all disabled services. Who should be activated?

    Could not connect online.  Said to check microsoft for answers.  They said come on in 'services.msc' and turn on plug-and-play.  When I went I noticed that almost all of the services have been disabled and I don't know which ones to activate.  Can yo

  • Why do none of the recommendation to fix the 0x80072EE2 error work

    I tried all the recommendation to fix the 0x80072EE2 update error code.  I ran fixit program and it found errors with the program and said it fixed the errors, but it didn't.  Every now and then is fine so I recover some of the updates, but this is a

  • How to transfer windows on a new hard drive

    How can I transfer all my system windows on a new hard drive

  • Mike

    several times my pc tried to install an update '800b0100' but has always failed, this is a significant update, what can I do?

  • Re-install windows 7 Home premium

    I have 2 laptops from dell with windows 7 pre-installed. the two laptops came with a disc. I lost one of my drives and I need to reinstall windows 7, can I use the disc to the other laptop to install windows on the laptop with a lost disc. ?