How do I display Text linked to a dropdown list selection in a form?

Ok, I have a form that has a dropdown list with several selections. What I want to have happen is when someone selects one of the options from the dropdown, I want to have text displayed to the right of that information that pertains to that selection.
I have attached the page with the form I have created as well as the css document that is used.
Any insight would be most appriciated! Thanks in advance!

Hi,
I browsed for you a bit and found this: http://javascript.internet.com/forms/suggest-messages.html Looks like what you need!
Otherwise just search this database: http://javascript.internet.com/forms/

Similar Messages

  • Entity Descriptions are not displayed correctly in Combo box dropdown list

    In Web Analysis, Entity Descriptions are not displayed correctly in Combo box dropdown list when entity descriptions from HFM contains a dot(.)
    Example:
    'Entity A. LTD' becomes 'LTD'
    'Entity B Inc.' becomes blank
    It seems that everything before the dot is not displayed when opening the combobox.
    It looks like it is acting like the option to show short description for entities in HR where the parent-child relation is not shown. This behaviour I don't expect for descriptions. And in my opinion is not an option in Web Analysis.
    Does anybody knows the sollution or have seen this issue before?

    Hi,
    This is a known issue with combo box list of values.
    Please follow this workaround:
    - Remove ComboboxLOV on Deptno
    - Create an updateable transient attribute(Say Dname) of type String
    - Define combobox lov with following values:
    List Data Source: DeptView1
    List Attribute: Dname
    List Return Values:
    Dname - Dname
    Deptno - Deptno
    UI Hints: Display Attribute - Dname
    - Edit Dname(transient attribute) and provide following groovy expression
    oracle.jbo.Key key = new oracle.jbo.Key(Deptno);
    return DeptView1.findByKey(key, 1)[0].getAttribute("Dname");- Now, you are done and observe that Dname combo box lov shows Description even on selection and change in this combo box sets the Deptno value
    Sireesha

  • How to remove the "text link" of an action link

    Hi everyone,
    after searching the forum and web with no luck, I need help on this topic. I'm working with many reports which link to others dashboards. These dashboards were created in OBIEE 10 and migrated to 11.1.1.3.
    What we wanted to do (and achieved in 10g) was to be able to click on some data (on a value of a graph, a value/column header in a table) and navigate to another dashboard. OBIEE 11g does this from the Criteria tab --> Column properties --> Interaction and selecting Action Links.
    In 11g, when doing this Action Links and clicking on a value, appears a "text link" ( screenshot : [https://picasaweb.google.com/102130000310148493868/Screenshots#5646178057282726354] ), so the user would need to do 2 clicks (one on the value and other in the text link).
    Is there any way to remove this Text Link? It can be a bit annoying if there is always one option, and needless.
    Thank you

    Hi Elena!
    In teh Interaction Tab (in the Column Properties window), once you create the action,you will right there a check box that says: "Do not display in a popup if only one action link is available at runtime". Clik on the check box, and you are ready to go!
    Please assign points if helful.
    J.-

  • Cue point event to display text link in movie

    HI -- This may be a fairly mundane question but I am having a
    hard time figuring it out. I have a movie with several cue point
    events. I would like a text link to be added to the right of the
    movie when a certain cue point is hit. I would like the link to
    stay in place and each time a new cue point is hit, a new link is
    added below the last link.
    I am stuck and can't seem to get this to work. Having a hard
    time figuring out the action script. Any suggestions? I have
    already followed the macromedia tutorials on this subject and am
    just floundering.
    thanks!

    Since you are storing the number as an 'int' and then converting that int to a String for display, then you shouldn't expect 0's to be added on if the number is currently 0:
    1) curnum = 0
    2) 0 key is pressed
    3) curnum = curnum * 10 + 0 = 0 * 10 + 0 = 0
    A real calculator wouldn't keep appending 0's... at least, not a simple calculator comparable to the one you are writing. If you want to append 0's, try this:
    - Keep a count of the number of 0's pressed.
    - If curnum is changed to 0 (by pressing clear, for example, or turning on the calculator), reset the zero count to 1.
    - Each time the '0' key is pressed, if curnum is 0, then increment the '0' count.
    - When you update your display, use the following logic: if curnum is 0, then display the number of 0's specified in the zero count, otherwise just display the value of curnum.
    Jason

  • How to programatically display text in combo box?

    Is there a way to programatically display text in a combo box.  I would like to display the word "Select" in the combo box each time my program starts.  As it is now, my combo box displays the last string that was selected the last time the program ran.
    Thanks in advance.
    Solved!
    Go to Solution.

    Actually, after actually reading your post...
    Jim
    You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice

  • How to display configuration items as a dropdown list

    Hi,
    When delivering a repository manager, we need provide a configuration archive (cc.xml and co.xml). For an attribute cc.xml, can we display it as a dropdown list and let user choose the value?
    For example, in cc.xml:
    <attribute name="Protocol" type="string" default=""/>
    I want do display a label "Protocol" before a dropdown list, in which the user can choose from "HTTP" and "HTTPS".
    Normally the user can only fill in the blank of the attribute, but I wanna let user choose the value.
    Thanks,
    Ray

    Hi,
    I think you cannot change the label on thy fly. The internationalization on other hands should work.
    Let's say you have in your <b>XXXX.cc.xml</b> this:
    <b><attribute name="param_protocol" type="enum"/></b>
    Create in the folder where you have <b>XXXX.cc.xml</b> file a folder <b>bundles</b>. inside this folder, inside this folder another folder <b>classes</b>. Here create a file <b>XXXX.properties</b> (XXXX is from your config name). So you will get this structure:
       XXXX.cc.xml
       bundles
          classes
             XXXX.properties
    Inside this file you define labels for your properties, in this case:
    lbl.param_protocol=Protocol
    In fact I haven't tried it in another language, I suppose that creating <b>XXXX_de.properties</b> shold do the trick for DE language and so on.
    Hope this helps,
    Romano

  • Display month and year in dropdown list on selection screen

    Hi
      Can anyone tell me how to display months and year in a dropdown list on a selection screen?
      also please tell me how to get the first and the last dates upon selecting the month and year on the dropdown list.
    Month: January Year:2007 . 
    After selecting the required month and year, the first date and last date i.e '01.01.2007 - 31.01.2007' should be displayed on the right side.
    Reward Points assured..
    thanks,
    Chetan

    Hi..,
    <b>
    Just copy, paste and execute this program !!</b>
    type-pools: vrm.
    parameters : p_month(2) type n as listbox visible length 10,
    p_year(4) type n as listbox visible length 10.
    DATA : W_DATE type d, w_ldate type d.
    initialization.
    perform user_drop_down_list_fordt.
    perform user_drop_down_list_foryr.
    start-of-selection.
    concatenate p_year p_month '01' into w_date.
    call function 'BKK_GET_MONTH_LASTDAY'
      exporting
        i_date        = w_date
    IMPORTING
       E_DATE        = w_ldate
    write /: w_date,w_ldate.
    build user_drop_down_list
    form user_drop_down_list_fordt.
    data: name type vrm_id,
    list type vrm_values,
    value like line of list.
    data: t_months type t247 occurs 0 with header line.
    clear list. refresh list.
    name = 'P_MONTH'.
    select * into  table t_months
    from t247 where spras eq 'EN'.
    sort t_months ascending by mnr.
    loop at t_months.
    clear value.
    value-key = t_months-mnr.
    value-text = t_months-ltx.
    append value to list.
    endloop.
    Set the values
    call function 'VRM_SET_VALUES'
    exporting
    id = name
    values = list.
    endform.
    for year...
    form user_drop_down_list_foryr.
    data: name type vrm_id,
    list type vrm_values,
    value like line of list.
    clear list. refresh list.
    name = 'P_YEAR'.
    do 9999 times.
    clear value.
    value-key = sy-index.
    append value to list.
    enddo.
    Set the values
    call function 'VRM_SET_VALUES'
    exporting
    id = name
    values = list.
    endform.
    <b>
    Hope this solves ur problem..</b>
    regards,
    sai ramesh

  • How to extract data from xml field to dropdown list?

    Hi,
    I have designed a form and connected to a SQL server database using a web service. The XML data retrieved from wsdl connection is currently hold in a text field called 'XMLfield'. I need to extract the data such as 'PersonnelName' from XMLfield into a dropdown list. I used the following code and I do not get any error, but nothing come up and all my fields in the forms become bank when i click the dropdown list.
    I would appreciate it if anyone can help me with this issue.
    form1.DropDownList::click - (JavaScript, client)
    xfa.datasets.data.loadXML(form1.XMLfield.rawValue,0,1);
    form1.XMLfield.rawValue = xfa.datasets.data.saveXML();
    var dataGroup = xfa.resolveNode("xfa.data.Timesheet.Personnel.PersonnelName");
    var dataGroupLength = dataGroup.nodes.length;
    if (dataGroupLength == 0) {
      xfa.host.messageBox("There are no parts in the XML doc");
    else {
      for (var i=0; i < dataGroupLength; i++){
        this.addItem(dataGroup.nodes.item(i).nodes.item(0).value);
    Thanks,
    Roya

    Hi Roya,
    I think the loadXML will override your form data, so blanking out your fields.  You could try loading the xml data at the xfa.datasets level (that is xfa.datasets.loadXML(form1.XMLfield.rawValue,0,1);) or using E4X to process the XML.
    Another option though might be more rework is to use the Acrobat SOAP api which will return you a JavaScript object so you wont have to do any XML work.
    There's a good intro to the SOAP api here, http://www.avoka.com/blog/page/11/.
    Regards
    Bruce

  • Populating text boxes from a dropdown list connected to an Access DB

    Hi, I have successfully connected to a MS Access data with a Dynamic Drop down box but I am having trouble scripting the change with a script that works to populate the 3 text fields with the remaining data from the 3 columns associated with the item chosen in the drop down box.
    Also does the program support being able to use the drop down box and the fields to add data to the DB. I have just started using LiveCycle Designer 8.
    Thanks.

    Try this code on the exit event of your dropdown list:
    tfList.rawValue = tfList.rawValue + " " + this.rawValue;
    I'm presuming that the list you're adding items to is called tflist. If it doesn't work, let us know.

  • How send PO display as link via email

    Hello,
    I got requirement. whenever a new PO is getting created, we  need to notiyfy list of users via email. email content should have a link to PO display. so whenever user logs into his outlook/lotus notes and clicks on the PO display link, it should take him to corresponing PO.
    How to acheive this via email. please help me out with some solutions.
    PS:
    its not a action(workitem), its via email.
    Regards,
    paris
    014 260 3230

    Purvesh,
    my requirement is just send a link ( PO display ) as mail..
    ex:
    hello Arun,
    please click on the PO number to view the PO .
    180000023
    Once user clicks on the link, it should take him to R/3 system. basically it should call ME23 transaction from outlook.
    Hope this clears you my requirement?

  • How do I display text only in the first page inXML Publisher

    Hi everybody,
    I've been reading so much, on the last two days, on this issue at this forum but I didn't get an answer. My problem is: In an invoices report some text and fields from the invoice header, (such as payment terms, bank details etc.), should be printed only in the first page of the invoice, (If the invoice has more than one page). These elements are not in the document header/footer but in the document body. That's why I think the different fist page of MS Word will not work. I tried also <? start@first-page:body ?>, with no success. Any idea, someone?
    Thanks,
    Shimon

    Hi,
    Did you find solution to your problem? I am facing same issue and I want to know how you solved it? It would be great help.
    Thank you.
    Regards,
    Rahul

  • How do i display text into a JTextfield

    hi, am currently using a JLabel to display the results of a calculation in my gui however i want to change it to a JTextField if possible
    is it possible to declare a Jtextfield, set it so that it cant accept data of any kind and display a calculation like JLabel after a button is clicked?
    any help is welcome

    setEditable(false);
    setText(calculationResult);

  • How do i display text information below an ALV grid.??

    Hi.
    I need to display my output in an ALV GRID.
    also i need to display summary details below the ALV grid. the smmary values keep changing dynamically depending upon selection screen inputs!!

    chk this report..write your code in the footer
    *& Report  ZRJR02                                                      *
    REPORT  ZRJR02                                  .
    *Table declaration.
    TABLES:ZEMP_MST,ZDEPT_MST,ZDESG_MST,ZSL_TXN.
    *Varriable declaration.
    TYPE-POOLS SLIS.
    DATA : POS TYPE I.
    DATA  REPID  LIKE SY-REPID.
    DATA : F1 TYPE SLIS_T_FIELDCAT_ALV,
           F2 TYPE SLIS_FIELDCAT_ALV,
           L_LAYOUT TYPE SLIS_LAYOUT_ALV.
    DATA  L_POS TYPE I VALUE 1.               "position of the column
    DATA  GT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV.
    *DATA  GT_SORT TYPE SLIS_T_SORTINFO_ALV.
    data:  GT_EVENTS    TYPE SLIS_T_EVENT,
           FS_EVENTCAT LIKE LINE OF GT_EVENTs.
    *Internal table declaration.
    *DATA  BEGIN OF IT_SORT OCCURS 5.
    *      INCLUDE TYPE SLIS_SORTINFO_ALV.
    *DATA  END OF IT_SORT.
    DATA:BEGIN OF ITAB OCCURS 0,
          ZEMPNO    LIKE ZEMP_MST-ZEMPNO,
          ZEMPNAME  LIKE ZEMP_MST-ZEMPNAME,
          ZDEPTCD   LIKE ZEMP_MST-ZDEPTCD,
          ZDEPTNAME LIKE ZDEPT_MST-ZDEPTNAME,
          ZDESGCD   LIKE ZEMP_MST-ZDESGCD,
          ZDESGNAME LIKE ZDESG_MST-ZDESGNAME,
         END OF ITAB.
    REFRESH ITAB.CLEAR ITAB.
    START-OF-SELECTION.
    SELECT A~ZEMPNO A~ZEMPNAME A~ZDEPTCD B~ZDEPTNAME A~ZDESGCD C~ZDESGNAME
           FROM ZEMP_MST AS A
             INNER JOIN ZDEPT_MST AS B
               ON A~ZDEPTCD EQ B~ZDEPTCD
             INNER JOIN ZDESG_MST AS C
               ON A~ZDESGCD EQ C~ZDESGCD
           INTO CORRESPONDING FIELDS OF TABLE ITAB.
    IF SY-SUBRC <> 0.
       MESSAGE E899(M3) WITH 'No records'.
    ENDIF.
    perform f_build_eventcat.
    PERFORM LAYOUT.
    END-OF-SELECTION.
    *&      Form  LAYOUT
    FORM LAYOUT .
      PERFORM FCAT USING 'ZEMPNO'    'ITAB' '' 'Emp.No.'   'ZEMPNO'    'ZEMP_MST'  ''.
      PERFORM FCAT USING 'ZEMPNAME'  'ITAB' '' 'Emp. Name' 'ZEMPNAME'  'ZEMP_MST'  ''.
      PERFORM FCAT USING 'ZDEPTCD'   'ITAB' '' 'Dept.Code' 'ZDEPTCD'   'ZEMP_MST'  ''.
      PERFORM FCAT USING 'ZDEPTNAME' 'ITAB' '' 'Dept.Name' 'ZDEPTNAME' 'ZDEPT_MST' ''.
      PERFORM FCAT USING 'ZDESGCD'   'ITAB' '' 'Desg.Code' 'ZDESGCD'   'ZEMP_MST'  ''.
      PERFORM FCAT USING 'ZDESGNAME' 'ITAB' '' 'Desg.Name' 'ZDESGNAME' 'ZDESG_MST' ''.
    *  PERFORM LSORT USING  'ZEMPNO' 'IDATA' ''.
    *  PERFORM LSORT USING  'ZEMPNAME' 'IDATA' ''.
    *  MOVE IT_SORT[] TO GT_SORT[].
      REPID = SY-REPID.
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
        EXPORTING
             I_CALLBACK_PROGRAM       = REPID
             IT_FIELDCAT              = F1
    *         IT_SORT                  = GT_SORT
             I_SAVE                   = 'X'
             IT_EVENTS                = GT_EVENTS[]
         TABLES
              T_OUTTAB                 = ITAB.
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " LAYOUT
    *&      Form  FCAT
    FORM FCAT USING P_FIELD P_TABLE P_SUM P_TEXT P_RFIELD P_RTABLE P_DISP.
      ADD 1 TO POS.
      F2-COL_POS       = POS.
      F2-FIELDNAME     = P_FIELD.
      F2-TABNAME       = P_TABLE.
      F2-SELTEXT_L     = P_TEXT.
      F2-REF_FIELDNAME = P_RFIELD.
      F2-REF_TABNAME   = P_RTABLE.
      F2-DO_SUM        = P_SUM.
      F2-NO_OUT        = P_DISP.
      APPEND F2 TO F1.
      CLEAR F2.
    ENDFORM.                " FCAT
    *&      Form  LSORT
    *FORM LSORT USING P_FIELD P_TABLE P_UP.
    *  ADD 1 TO L_POS.
    *  IT_SORT-SPOS      = L_POS.
    *  IT_SORT-FIELDNAME = P_FIELD.
    *  IT_SORT-TABNAME   = P_TABLE.
    *  IT_SORT-UP        = P_UP.
    *  APPEND IT_SORT.
    *ENDFORM.                    " LSORT
    FORM F_BUILD_EVENTCAT .
    CLEAR: GT_EVENTS.  REFRESH: GT_EVENTS.
      CLEAR: FS_EVENTCAT.
      FS_EVENTCAT-NAME = 'TOP_OF_PAGE'.
      FS_EVENTCAT-FORM = 'F_REPORT_HEADER_ALV'.
      APPEND FS_EVENTCAT TO GT_EVENTS.
      CLEAR: FS_EVENTCAT.
      FS_EVENTCAT-NAME = 'END_OF_LIST'.
      FS_EVENTCAT-FORM = 'F_WRITE_SUMMARY'.
      APPEND FS_EVENTCAT TO GT_EVENTS.
    ENDFORM.                    " F_BUILD_EVENTCAT
    FORM F_REPORT_HEADER_ALV.
    CALL FUNCTION 'Z_YHEAD_PRINT'
    EXPORTING
       TITLE1        = 'XYZ Limited'
       TITLE2        = 'Employee Master'
       TITLE3        = 'Created on '
       COLOR         = 'X'
    ENDFORM.
    *&      Form  F_WRITE_SUMMARY
    *       Write summary before exit
    FORM F_WRITE_SUMMARY .
    write:/ 'Welcome to XYZ Limited'.
    write:/ 'This is a test program to display Report in ALV Format'.
    ENDFORM.

  • How can I display append changes history of a multiline textbox in custom form?

    I want to display changes history of multiline textbox in custom aspx form as normally display in standard dispform.aspx and editform.aspx page.
    How can I do this?

    Hello
    It seems you want to get the versions of multiline textbox, see following article, may help you
    http://www.mtelligent.com/journal/2007/10/17/the-insanity-of-getting-versions-of-a-multilinetext-box-set-.html
    Keep us  updating.
    Ashish Kanoongo, MCP, MCSD, MCTS

  • How can I display an error_message dialog with an if selection structure?

    I have to write an application that reads in a five-digit integer and determines whether or not is a palindrome.If the number is not five digit long, display an error message dialog to the user. When the user dismisses the error dialog, allow the user to enter a new value

    duh...,think this would satisfy ur needs..:d
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class pali extends JFrame implements ActionListener{
         JButton b1;
         JTextField t1;
         JLabel l1;
         public static void main(String as[]){
              new pali().setVisible(true);
         public pali(){
              setSize(200,200);
              JPanel jp = new JPanel();
              t1 = new JTextField(5);
              b1 = new JButton("check");
              b1.addActionListener(this);
              l1 = new JLabel();
              jp.add(t1);
              jp.add(b1);
              jp.add(l1);     
              this.getContentPane().add(jp);
         public void actionPerformed(ActionEvent e){
              if(e.getSource()==b1){
                   l1.setText("");
                   String s=t1.getText();
                   if(s.length()!=5){
                                  JOptionPane.showMessageDialog(null, "Please input correctly ", "alert", JOptionPane.ERROR_MESSAGE);
                   t1.setText("");
                   t1.requestFocus();
                   }else{
                        if(s.substring(0,1).equals(s.substring(4))){
                             if(s.substring(1,2).equals(s.substring(3,4))){
                                  l1.setText(s+"is a palindrome");
                             }else{
                                  l1.setText(s+"is not a palindrome");
                                  t1.requestFocus();
                        }else{
                             l1.setText(s+"is not a palindrome");
                             t1.requestFocus();
    }

Maybe you are looking for