How do you link a drop down box to display content in read only field?

For starters, I am a super novice at javascript, and I'm being asked to make some huge forms.
For this form, I need to figure out how to display a corresponding description that I have typed up when a certain product is chosen in the read-only description field. Not only this, but the price of the product needs to also show up in the read-only price section. There are five different products to choose from.
This has to be some big coding. I just don't have any javascript knowledge and it really confuses the heck out of me. :c
Any help would be amazing. I don't want to have to abandon this project.

For a text value you have to use a custom JavasScript. Where you place it and the code will depend upon when you want the value of the text field to change and how you have populated your combo boxes.

Similar Messages

  • This is my first use of this program. How do I remove a page break? How do line up my drop down box along side the text box on the left of it? The drop down is for a multiple choice answer for the question to the left.

    This is my first use of this program. How do I remove a page break? How do line up my drop down box along side the text box on the left of it? The drop down is for a multiple choice answer for the question to the left of each drop down.

    See McAfee support to find out how to disable that McAfee feature - that isn't part of the normal Firefox installation.

  • Hebrew fonts from drop-down box not displaying in text box.

    I am using InDesign CS 5.5 on a Mac 10.8.4.
    When in ID, the fonts I am seeing on the Font dropdown menu when I try to use in a text box are not displaying correctly. They only display as boxes. The fonts are in the Hebrew language. They are properly installed in the FontBook.
    Please help!! Thank you.

    Reema,
    I followed most of your steps. I have a question reg. step 3 ie populating data in node 1.
    Here is my code:
    method WDDOINIT .
    types: begin of zs,
    zktokd type kna1-ktokd,
    end of zs.
    data: handle1 type ref to if_wd_context_node,
    begin of zstruct,
    zktokd type kna1-ktokd,
    end of zstruct,
    zitab type table of zs.
    handle1 = wd_context->get_child_node( name = 'NODE1' ).
    *select ktokd into corresponding fields of zstruct from kna1.
    *append zstruct to zitab.
    *endselect.
    zstruct-zktokd = 'Sold-to party'.
    append zstruct to zitab.
    zstruct-zktokd = 'Goods recipient'.
    append zstruct to zitab.
    zstruct-zktokd = 'Payer'.
    append zstruct to zitab.
    zstruct-zktokd = 'Bill-to party'.
    append zstruct to zitab.
    zstruct-zktokd = 'Prospective Customer'.
    append zstruct to zitab.
    zstruct-zktokd = 'Competitor'.
    append zstruct to zitab.
    zstruct-zktokd = 'Sales partners'.
    append zstruct to zitab.
    zstruct-zktokd = 'Hierarchy Node'.
    append zstruct to zitab.
    zstruct-zktokd = 'Named List of Accounts'.
    append zstruct to zitab.
    zstruct-zktokd = 'Distribution center'.
    append zstruct to zitab.
    zstruct-zktokd = 'Payer'.
    append zstruct to zitab.
    handle1->bind_table( new_items = zitab ).
    endmethod.
    Please let me know if this is the best way to populate the node and then bind the table values from the node to the drop down box.
    Thanks and Regards.

  • How to populate data in drop down box dynamically in adobe form?

    Dear Experts.
    I am new to adobe interactive form can anybody please tell me how to fill data in a drop down box dynamically? I am using webservices method.
    Thanks in advance.
    Chitta Ranjan Mahato
    Edited by: mahato123 on Aug 5, 2011 12:16 PM

    you can create a method to populate the context attribute that you are using to map to your dropdown box.
    DATA: node_info TYPE REF TO if_wd_context_node_info.
    DATA: it_table TYPE wdr_context_attr_value_list.
    ** select your dropdown data into it_table and pass it to your context attribute.
    ** here, mine is call PROJ_TYPE - the values should appear in your dropdown.
      node_info->set_attribute_value_set(
         name      = 'PROJ_TYPE'
         value_set = it_table ).

  • How do I use a drop-down box to turn on a radio button?

    I have a dynamic form with a drop-down box containing selections 1, 2, 3, and 4; later in the form I have a radio button group with two radio buttons labeled "pass" and "fail".
    I would like to have drop-down selections 1 and 2 automatically select "fail" and 3 and 4 automatically select "pass" in the radio button group, with the option of the user changing this with a warning message.
    Any help is greatly appreciated.
    Thx
    Drew

    Hi,
    you can use this JavaScript in the change event of your drop down list.
    var sel = xfa.event.newText;
    RadioButtonGroup.rawValue = (sel === "1" || sel === "2") ? 1 : 2;

  • My drop-down list won't appear anymore so every time I want to go to a new site I have to type it in where before my drop-down box would appear and I could just click it and hit search and go there how do I make my drop-down box come back

    somehow I must've clicked a button that took away my drop down box when I go to use my Google search so different sites that I go to a lot I would always just click it when the drop-down box came up I would click again and hit search and you would bring that page up but even if I go to a site once I leave that I try to click and make the drop-down box come up again with the new search and it nothing happens so the problem is I need my drop down box to come back up to all the places that I visit kind of like a history of like I said I would just click and it would come up by itself now the drop-down box won't come up anymore so I need somebody to tell me what to do to bring my drop-down box back also I am new to computers so I don't know a lot so don't be real technical thanks for the help merry Christmas from Joe

    It's not a matter of me assuming to restore it, once the error comes up, the only next step I can do is to restore it. I can't access any of the iphones settings in itunes or anything, it's a mandatory restore. If I just cancel the sync (before restoring) and disconnect the phone, all my apps crash on opening: aka unusable phone. So I have literally no choice but to restore every time the error shows up if I want my phone to work.
    I have no idea where I may have duplicate files as it doesn't tell me, so if that is the problem (which I don't think it is) then I don't know where I have to go to delete the duplicates.
    And the duplicate file error still doesn't explain why leaving iTunes to restore the phone doesn't work and me having to drag the window around. I know it sounds utterly ridiculous, my friend didn't believe me when I told him either but then I showed him and he was as confused as I am. If I just leave the restore to do its own thing at it's own pace, it will loa maybe 20% then fail for whatever reason.

  • How do I disable the drop down box which appears below the Search Box (which shows previous searches) when I start typing in my search topic

    Hi I would like to know how to disable the drop down box which appears below the search box on the start page when I start to type in my search topic. If for example the first letter I type in is an S then it shows a list of previous searches of sites beginning with the letter S.

    This is stored in the Firefox form history. For details of how to clear form history and prevent Firefox from storing any more form history see https://support.mozilla.com/kb/Form+autocomplete

  • How to get at Colour drop down box for simple shape ?

    Hi,
    If I go new file, Insert Symbol, Movie Clip, then draw a
    circle and a line using those two tools, I am unable to get the
    colour drop down box to show so that I can select Alpha. I have
    managed to do this many times for an imported to library graphic
    from Freehand, one simply clicks on the graphics line after the
    graphic has been drag/dropped to stage, go properties and the
    Colour drop down list from where you select the word Alpha appears.
    I have tried a single click, a double click, a treble click,
    just cant see that dropdown box for simple shapes !
    Help
    Envirographics

    Hi,
    If I go new file, Insert Symbol, Movie Clip, then draw a
    circle and a line using those two tools, I am unable to get the
    colour drop down box to show so that I can select Alpha. I have
    managed to do this many times for an imported to library graphic
    from Freehand, one simply clicks on the graphics line after the
    graphic has been drag/dropped to stage, go properties and the
    Colour drop down list from where you select the word Alpha appears.
    I have tried a single click, a double click, a treble click,
    just cant see that dropdown box for simple shapes !
    Help
    Envirographics

  • Email Submit button linked to drop down box.

    Hello.
    I have a form that needs to go to multiple people depending on what ministry they work for. I have created a drop down box that has the ministry list. Is there a way, to either create a button on the fly, or to create an if/else statement to format the submit button or any other type of button, check box, etc. So that when the user selects the ministry that button is formatted with the correct email address???
    The other part of my question is can you change the name of the PDF file that is being submitted, right now mine just submits as a randomly generated file name? Can I have all the PDF's be emailed as PDF123.PDF, or something??
    HELP...
    Thanks.
    Mike

    It might be possible.
    1. Set your drop down list Ministry names to the email values that you need in the Binding tab.
    2. In the button that you create as the submit create a JavaScript that executes something like the following:
    //BEGIN CODE
    //Note the path of the field will be different.
    var oMinistry = (F.P1.Ministry.rawValue);
    var oBody = "The email body"
    event.target.submitForm({cURL:"mailto: "+oMinistry+"?subject=Case Submission"+"&body="+oBody, cSubmitAs:"PDF", cCharset:"utf-8" });
    //END CODE
    Rocky

  • Drop Down Box Choose A Name and Have only the first name show up

    I am creating a form for health care.
    I have a drop down box with names of Physicians... their full names so they can be easily identified. And then subsequent fields that will be populated based off of the choice. However What I need is that after the full name from the drop down list is selected than only the Dr's First name shows up in the box to be distributed through out the file. All the rest of the information is already in using this Java:
    switch(this.rawValue){
        case "MD":
            form1.Page1.Physician1LastName.rawValue = " Acccc";
            form1.Page1.Physician1Number.rawValue = "1111111111";
            form1.Page1.Physician1Fax.rawValue = "2222222222";
            form1.Page1.ClientEmail.rawValue = "[email protected]";
            form1.Page1.Physician1Address.rawValue = "xyz suite ";
            form1.Page1.Physician1City.rawValue = "XYY CIth";
            form1.Page1.Physician1State.rawValue = "XZ";
            form1.Page1.Physician1Zip.rawValue = "11111";
            form1.Page1.Physician1NPI.rawValue = "111111111";
            form1.Page1.Physician1License.rawValue = "ABBB111111";
            form1.Page1.Physician1UPIN.rawValue = "A11111";
            form1.Page1.Physician1Specialization.rawValue = "Internist";
            break;
    And is working beautifully thanks for previous help everyone.
    Here is the example from the Drop Down list choices:
         Dr. Aaaaa Abb Accccc
         Dr. Baaaa Bbb Bccccc
    I would like to choose :
         Dr. Aaaaa A Aaaaa
    and upon chosing it have it show only the first name in that field so it can be processed correctly through out the rest of the fields.
    ie:    Aaaaa   (Only nothing else)
    I am a horrible at this stuff I just surf around until I find something that works and copy and paste and play until it works
    So Please be specific:
    Java vs FOrm: Client: Choice   and code ....
    Thanks SO much ....

    Take a look at the attached. The script assumes the name is a three-part string such as Dr. Frank Burns. You can modify it according to your needs.
    // form1.page1.dd::exit - (JavaScript, client)
    if (this.rawValue != null) {
      var doc = this.rawValue;
      var i = doc.indexOf(" ");
      doc = doc.substring(i+1,doc.length);
      this.rawValue = doc.substring(0,doc.indexOf(" "));
    Steve

  • How can I get a drop-down list selection also be selected in another field with the same list but a different name?

    I have a street address and a billing address. A question is posed with a checkbox — "Is the billing address the same as the street address?" If Yes is checked, the street address automatically fills the billing fields. If No is checked, the user must fill in new information. In both the street address and billing addres, the State field is a drop-down list. How can I get the drop-down list selection in the street address State also be selected in drop-down list for the billing address State?

    Has anyone done this?

  • How do you do a drop down menu in iWeb?

    Does any one know how to do a drop down menu with multiple links?
    for example someone scrolls over the phrase "3 bedrooms" and a dropdown menu appears with multiple optionsto different properties.

    Here are some sample menus :
    http://www.wyodor.net/_Demo/tmf/Duckmenu.html
    http://www.wyodor.net/_Demo/FloatingMenu/Fixed.html
    http://www.wyodor.net/_Demo/tmf/TMF.html
    http://www.wyodor.net/Demo/iWebeend.html
    Check the markup-widget.html files to follow or see the code that does it.
    You can also seach the internets for other code :
    http://www.alistapart.com/articles/dropdowns/
    You may have to learn HTML/CSS/JavaScript/DOM/Ajax and how iWeb create its webpages.

  • How can you change a drop down menu's selection in a case statement?

    Hi,
    I am trying to an array finding vi. This VI will take an existing xml file and after the user has selected his/her equipment, input, output, and frequency it will put all of those options into a string and search the xml file for that exact array name and display it on an output screen. The problem I am having is that my input and outputs selection needs to be a little different depending upon the equipment selected. I thought that I could use a case statement to change the input and output selectable options, but I have run into many snags with it. For one everytime I place a new Input and Output drop down menu in the case statement it wants to place a new one in the front panel (I only want one input and output not three I have two inputs and outputs hidden right now). I believe I am using the case statement wrong... Can anyone help change my input and output selectable options depending upon the equipment selected. Attached is my xml file, Array Find.vi (the original one), and Array Find_Test.vi (this is the one I am trying to modify).
    Thanks,
    dlovell
    Solved!
    Go to Solution.
    Attachments:
    Find Array.zip ‏126 KB

    Hi dlovell,
    There are 2 key things I'd recommend for the code - using property nodes to edit the strings in the combo boxes.  Something like the following snippet:
    Also, check your CPU in task manager when running the code.  It will eat a whole core of your machine (25% quad core, 50% dual, 100% single) - that is because you are running the while loop and polling the control as fast as Windows will allow you to.  Using Event Structures is a much more efficient way of working in this example.
    Check out the MOD attached 
    Regards,
    Peter D
    Attachments:
    MOD_Find Array.vi ‏28 KB

  • How do I link this drop down menu created in Fireworks when I export to dreamweaver, Help!

    Hello everyone,
    Thank you in advance for dealing with my inexperience and answering my question.
    I have been stuck on this for wayyyy too long. Here is my problem. I created a drop down menu for a portfolio website I am building. When I pull this into Dreamweaver the way to link the menu items to the pages is elusive. I have no idea what to do. Please help?
    Here is the screenshot. Thank you very much     Jennifer
    OK, Well no one can actually see this image since it came in so small, but please help me anyway if you can?

    Thank you for answering my question. I created the graphics in photoshop, sliced them in fireworks and now I am pulling the site in dreamweaver to link it. The dropdown is just a little dropdown menu. I created it in Fireworks because when I tried to create one in Dreamweaver I had to use a spry which was even harder to figure out and get to work. If I knew Html or CSS my life would be much easier but I don't. I don't have much time to learn it right now since I work over time all week, do graphics freelance and I go to school for computer science. I need to get this site up and I just want a fast little fix to get it up. When I have time to learn more I can make this site better or start a better site, but for right now it just needs to work. Is there a way to get what I have working so I can just get this site up. Later I will have more time and more experience to do this better. I am learning so thank you for your experience.
    Thanks,
    Jennifer

  • How do I link a drop down menu with product pictures?

    I wan to have  a product picture and then have a drop down menu to choose the color, so when I select the color in the drop down menu the product picture chages to its corresponding color, is this possible?
    Or is there an alternative way?

    Not in iWeb. You have to look beyond it.
    Here :
    http://www.cssplay.co.uk/menus/
    Lots of menus to choose from. For some you need permission.
    Then use the HTML Snippet to paste the code.
    For HTML Snippet alternatives, have a look here :
    http://www.wyodor.net/mfi/roodhout/How_To_Do.html
    http://www.wyodor.net/mfi/Maaskant/How_To.html
    Sample menus made with this technique here :
    http://www.wyodor.net/mfi/Maaskant/Some_Menus.html

Maybe you are looking for

  • APN Settings automatically changed

    After putting the new settings in API it changed after a period to Vodafone settings automatically, this thing happens constantly. iPad (3rd gen) Wi-Fi + Cellular OS: 5.1.1

  • Are you using After Effects and are looking for plug-ins?

    AV3software.com has all the plug-ing you are looking for, all centralized in one website all available via download at a very attractive price. Check it out www.av3software.com

  • How do I change safari setting to allow popups

    How do I change safari settings to allow popups

  • Webservice without HTTP Authentication

    Dear people, I need to create a webservice using a function module (SE80 --> webservice wizard). But when I create this webservice it has a username and password so I need to create it without a username and password. How can I create it without any

  • Bridge shows "COPYRIGHT UNKNOWN"

    when i put metadata on my pictures, and in the metatdata template the copyright status is "copyright protected", bridge shows in the "copyright status" unknown. if i open these files in photoshop there is no © in the title bar.