How do I create hyperlinks in drop-down box....  (see details)

I'm creating a form that will be used as an employee performance review.  On page one of the form, I'd like to insert a drop-down box titled "JOB TITLE" and there will be approx 10 different job titles in the list that the VP can select from.  Depending on the job title that the VP selects, I'd like a hyperlink that takes him to a new page within the pdf document.
For example, the VP is going to complete a performance review for a "General Mgr" on his/her team.  He selects "General Mgr" from the drop down list in the "Job Title" box, and when he does, a new page opens that has questions related to the job responsibilities of a "General Mgr".  If the VP had selected a different Job Title, such as "Area Mgr", then a different page would have opened up with questions related to the job of an Area Mgr, which would be different than a Gen Mgr.
Can anyone assist me with this?

Hi,
Here are some resources that you might find helpful:
http://www.adobe.com/go/learn_lc_scriptingBasics
http://www.adobe.com/go/learn_lc_scriptingReference
http://www.adobe.com/go/learn_lc_formCalc
http://www.adobe.com/devnet/livecycle/articles/Adobe_XML_Form_Object_M odel_Refer ence.pdf
http://www.adobe.com/devnet/acrobat/pdfs/lc_migrating_acrobat_xmlform. pdf
And a very handy resource (and while it is for version 6 it is still very good because of the way it is laid out):http://partners.adobe.com/public/developer/en/tips/CalcScripts.pdf
The help file also helps with syntax and LC Designer comes with templates/examples.
Lastly, check out the Developer's Network on http://www.adobe.com/devnet/livecycle/
In the sample the script is in the exit event of the dropdown. You can view the script by selecting the dropdown, which is on the Master Page and viewing the script editor at the top of the workspace. If the script editor is not open, you can open it from the Windows menu. By default it is only one line high, so I would recommend dragging the bottom bar so that you see a good few lines. You can view different events in the script editor and set the language.
Also if you look at the dropdown you can see in the Object > Field tab that I have set the values that are displayed in the dropdown and in the Object > Bindings I have not specified bound values, so I can use the display values in the script.
In the hierarchy I have named each of the pages with a unique name (eg appendixAdmin), that is also used in the script.
I hope that helps,
Niall

Similar Messages

  • Creating a dependent drop down box in an interactive form?

    Hello -
    I'm pretty new to Acrobat and not fluent with JS (I'm a chemist), so please forgive me if this seems a silly question:
    I'd like to create a form wherein there are two drop down boxes and the choices seen in the second of the two are dependent upon the choice made in the first. An example of such might be a list of departments in the first field and a list of staff in the selected depertment in the second field.
    I'm using Acrobat ver 7.0 (Pro) with Designer, by the way.
    I've been able to do this in Excel through use of validation functions, but I'd like to get away from Excel if at all possible.
    Thanks very much in advance!
    Chris

    To keep the department/cities sample; i'll try to explain you how i did it in Designer:
    I created a "variable" bloc (at the bottom of the Hierarchy tab) called Cities
    An other one called Departments
    A last called CitiesFunctions
    In the Cities bloc, i declared an array with all cities.
    In the Department bloc, I declared an array by department. In each array, i have 2 items : the index of the first city of the department in the cities tab and the index of the last city of the department in the cities tab.
    On my form, I created a dropDownList called Department (populated with departments) and an other called cities initialized empty.
    On Department change event:
    I rase the cities field.
    I call my function getCitiesByDpt in my CitiesFunctions bloc with the department in parameter.
    In these function I call the array corresponding to the department in the Cities bloc and I populate my listBox cities by the results (tab of cities from parameter 1 to parameter 2 of my Department array).
    Carrefull : if a list has too much items, you should create a "manual list" composed of 1 textField, 1 button, 1 listBox (it's better for performance)
    After than, always by script, you can restrict you second list by the sequence of characters eventualy keyed in the field Cities.
    I hope i'm a little beat clear ! it's hard to explain in a forum (and sorry for my french english...:))
    Pierre.

  • Why form is creating a "memory" drop-down box in the PDF Form

    I have created a form for someone using Adobe Acrobat CS4. While this doesn't happen when I use it on my computer, or even my work computer, apparently one of the end users, as they enter data into the form, it remembers previous information she had entered and gives her like a "memory" drop down box. She doesn't want that. How can I format it so it doesn't do that? Thank you.

    Edit > Preferences > Forms > Turn Auto-Complete off

  • How do I enable multiple dynamic drop down boxes?

    I'm using Windows 2000, Java SDK 2 Standard, Tomcat, Apache, Microsoft Access and Macromedia Dreamweaver Ultradev 4.
    With UltraDev I'm trying to create a jsp page that has more than one dynamic drop down box or more than one dynamic select list box. I can show one dynamic object and as many static objects as I need. But when I add a second dynamic drop down box, with a second recordset, the page will only display the first dynamic object and all content following that object will not display.

    Here's the code:
    <%@page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*"%>
    <%@ include file="Connections/conn.jsp" %>
    <%
    Driver DriverRecordset1 = (Driver)Class.forName(MM_conn_DRIVER).newInstance();
    Connection ConnRecordset1 = DriverManager.getConnection(MM_conn_STRING,MM_conn_USERNAME,MM_conn_PASSWORD);
    PreparedStatement StatementRecordset1 = ConnRecordset1.prepareStatement("SELECT STATE_NAME, COUNTRY FROM STATE");
    ResultSet Recordset1 = StatementRecordset1.executeQuery();
    boolean Recordset1_isEmpty = !Recordset1.next();
    boolean Recordset1_hasData = !Recordset1_isEmpty;
    Object Recordset1_data;
    int Recordset1_numRows = 0;
    %>
    <%
    Driver DriverRecordset2 = (Driver)Class.forName(MM_conn_DRIVER).newInstance();
    Connection ConnRecordset2 = DriverManager.getConnection(MM_conn_STRING,MM_conn_USERNAME,MM_conn_PASSWORD);
    PreparedStatement StatementRecordset2 = ConnRecordset2.prepareStatement("SELECT FIRSTNAME, LASTNAME, AGE FROM PLAYER");
    ResultSet Recordset2 = StatementRecordset2.executeQuery();
    boolean Recordset2_isEmpty = !Recordset2.next();
    boolean Recordset2_hasData = !Recordset2_isEmpty;
    Object Recordset2_data;
    int Recordset2_numRows = 0;
    %>
    <html>
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>
    <body bgcolor="#FFFFFF" text="#000000">
    <form name="form1" method="post" action="">
    <p>
    <select name="select2">
    <option value="Canada">Canada</font></option>
    <option value="France">France</font></option>
    <option value="French Guiana">French Guiana</font></option>
    <option value="French Polynesia">French Polynesia</font></option>
    <option value="French Southern Territories">French Southern Territories</font></option>
    <option value="Germany">Germany</font></option>
    <option value="United Kingdom">United Kingdom</font></option>
    <option value="United States">United States</font></option>
    </select>
    </p>
    <p>
    <select name="select">
    <%
    while (Recordset1_hasData) {
    %>
    <option value="<%=(((Recordset1_data = Recordset1.getObject("COUNTRY"))==null || Recordset1.wasNull())?"":Recordset1_data)%>" ><%=(((Recordset1_data =
    Recordset1.getObject("STATE_NAME"))==null || Recordset1.wasNull())?"":Recordset1_data)%></option>
    <%
    Recordset1_hasData = Recordset1.next();
    Recordset1.close();
    Recordset1 = StatementRecordset1.executeQuery();
    Recordset1_hasData = Recordset1.next();
    Recordset1_isEmpty = !Recordset1_hasData;
    %>
    </select>
    </p>
    <p>
    //Here's where things go awry
    <select name="select4">
    <%
    while (Recordset2_hasData) {
    %>
    <option value="<%=(((Recordset2_data = Recordset2.getObject("FIRSTNAME"))==null || Recordset2.wasNull())?"":Recordset2_data)%>" ><%=(((Recordset2_data = Recordset2.getObject("FIRSTNAME"))==null || Recordset2.wasNull())?"":Recordset2_data)%></option>
    <%
    Recordset2_hasData = Recordset2.next();
    Recordset2.close();
    Recordset2 = StatementRecordset2.executeQuery();
    Recordset2_hasData = Recordset2.next();
    Recordset2_isEmpty = !Recordset2_hasData;
    %>
    </select>
    </p>
    <p>
    <select name="select5">
    </select>
    </p>
    <p> </p>
    </form>
    <form name="form2" method="post" action="">
    <select name="select3">
    </select>
    </form>
    <p> </p>
    </body>
    </html>
    <%
    Recordset1.close();
    ConnRecordset1.close();
    %>
    <%
    Recordset2.close();
    ConnRecordset2.close();
    %>

  • How to make choices in a drop down box change a value in another box

    Hi,  I am fairly new to the world of creating forms in Adobe so please bear with my question if it seems simple.  I have seen where a lot of people are using code and I am very confused.  I am creating an order form and have created a drop down box (combo box).  There are 4 choices in this drop down box.  When the user chooses one of these choices, I would like an amount to appear in a seperate box.  Each choice would have a different amount.  Is this possible?  If so, could someone please give me step by step instructions.  I appreciate any help given!!

    Yes, the best way would be to set your 'Amount' value into the 'Export Value' for each item in the combobox. Then, you can set the calculation for your text field to the following (Be sure to change "ComboBox1" to the name of your combobox):
    var f = this.getField("ComboBox1");
        var a = f.currentValueIndices;
        var s
        if (typeof a == "number") {// a single selection
            s = (f.value);       
    event.value =  s

  • WAD - How to Minimize the Space Between Drop-Down Box and Table

    Hi all,
      I am trying to display a query in 'Table' with Web Application Designer (WAD). First, I have placed the 'Drop-down box' web-item and 'Table' web-item below it in the Web Template. There is an half-inch of space between the 'Drop-down box' and the 'Table' when it displays on the browser. It doesn't look good with this gap.
      How can I eliminate or minimize this gap, PLEASE ?.
    Thanks.

    Hi Ingo & Hari,
       Thanks a lot for your help. Now it reduced the gap between the drop-down box and table to 3mm on browser.
    But, there is no gap on web template. If we change some settings, we could still further reduce the gap while displaying it on browser.
      Any new suggestions, PLEASE.  Thanks again.
    <!--BW HTML data source object tags: -->
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="SET_PROPERTIES"/>
             <param name="TEMPLATE_ID" value="TESTWBOLAPQUERYUSER1"/>
             TEMPLATE PROPERTIES
    </object>
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="SET_DATA_PROVIDER"/>
             <param name="NAME" value="DATAPROVIDER_1"/>
             <param name="QUERY" value="Z_BWSTAT_OLAP_PER_QUERY_USER"/>
             <param name="INFOCUBE" value="0BWTC_C10"/>
             DATA_PROVIDER:             DATAPROVIDER_1
    </object>
    <html>
      <head>
        <title>BW Web Application</title>
        <link href="/sap/bw/Mime/BEx/StyleSheets/BWReports.css" type="text/css" rel="stylesheet"/>
      </head>
      <body>
    <P align=left>
    <TABLE cellSpacing=1 cellPadding=1 width="75%" border=0>
      <TR>
        <TD vAlign=top><object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="DROPDOWNBOX_1"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_FILTER_DDOWN"/>
             <param name="DATA_PROVIDER" value="DATAPROVIDER_1"/>
             <param name="WIDTH" value="69"/>
             <param name="IOBJNM" value="0TCTUSERNM"/>
             ITEM:            DROPDOWNBOX_1
    </object></TD>
        <TD vAlign=top><object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="DROPDOWNBOX_2"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_FILTER_DDOWN"/>
             <param name="DATA_PROVIDER" value="DATAPROVIDER_1"/>
             <param name="WIDTH" value="19"/>
             <param name="IOBJNM" value="0TCTIFCUBE"/>
             <param name="MAXVALUES" value="1"/>
             ITEM:            DROPDOWNBOX_2
    </object></TD>
        <TD vAlign=top><object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="DROPDOWNBOX_3"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_FILTER_DDOWN"/>
             <param name="DATA_PROVIDER" value="DATAPROVIDER_1"/>
             <param name="WIDTH" value="34"/>
             <param name="IOBJNM" value="0CALDAY"/>
             ITEM:            DROPDOWNBOX_3
    </object></TD>
        <TD vAlign=top><object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="DROPDOWNBOX_4"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_FILTER_DDOWN"/>
             <param name="DATA_PROVIDER" value="DATAPROVIDER_1"/>
             <param name="WIDTH" value="22"/>
             <param name="IOBJNM" value="0TCTQUERY"/>
             ITEM:            DROPDOWNBOX_4
    </object></TD></TR></TABLE>
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="TABLE_1"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_GRID"/>
             <param name="DATA_PROVIDER" value="DATAPROVIDER_1"/>
             <param name="WIDTH" value="505"/>
             <param name="BORDER_STYLE" value="FORM"/>
             <param name="ALT_STYLES" value=""/>
             ITEM:            TABLE_1
    </object></P>
    <P align=left> </P>
    <P align=left> </P><FONT color=#0000ff size=2>
    <P align=center></FONT> </P>
    <P align=center> </P>
    <P align=center> </P>
      </body>
    </html>

  • How to set default value for drop down box in jsf

    Hi,
    Can anyone help me to set the default value in drop down box using <af:selectManyChoice> ?
    As I know there is an unselectedLabel attribute in <af:selectOneChoice> but not valid attribute for <af:selectManyChoice>.
    Any help must be appreciated.
    Regards,
    AK

    Hi Frank
    My entity type is a List in managed bean. I have set the entityType in the constructor of the managed bean. I have attached my code here.
    TPSearchCriteriaBean.java****************************************
    /** Constructor */
    public TPSearchCriteriaBean() {
    super();
    entityType=new ArrayList<String>();
    entityType.add(UIConstants.LIST_ITEM_ALL);
    authorizationType=new ArrayList<String>();
    authorizationType.add(UIConstants.LIST_ITEM_ALL);
    companyType=new ArrayList<String>();
    companyType.add(UIConstants.LIST_ITEM_ALL);
    mrgStatus=new ArrayList<String>();
    mrgStatus.add(UIConstants.LIST_ITEM_ALL);
    legalStatus=new ArrayList<String>();
    setEntityType(entityType);
    setAuthorizationType(authorizationType);
    setCompanyType(companyType);
    setMrgStatus(mrgStatus);
    country = "0";
    //address = new AddressBean();
    UIConstants.java***********************************************************
    public static final String LIST_ITEM_DEFAULT = "select";
    public static final String LIST_ITEM_ALL = "0";
    LOVManager.java*****************************************************************
    public List<SelectItem> getLovList(String lovType, boolean requiredOption_SELECT, boolean requiredOption_ALL)
    log.debug("LOV loading for " + lovType + ": START");
    List<SelectItem> lovList = new ArrayList<SelectItem>();
    //check validity of lov loading request
    validLov:
    for (int i = 0; i < lovTypeArray.length; i++)
    if (lovTypeArray.equals(lovType))
    break validLov;
    log.debug("ERROR: LOV Type not valid.");
    return lovList;
    //First select is replaced by ALL here
    //<-- Select --> should be an option
    if (requiredOption_SELECT)
    lovList.add(new SelectItem(UIConstants.LIST_ITEM_DEFAULT, "--Select--"));
    LOVDao dao = new LOVDao();
    dao.loadLOVValues(lovType, lovList);
    log.debug("LOV Loading successful!");
    //<ALL> should be an option
    if (requiredOption_ALL)
    lovList.add(new SelectItem( UIConstants.LIST_ITEM_ALL, "ALL"));
    return lovList;
    Kindly help me.
    Regards,
    AK

  • How do I create a dependant drop down in a web form?

    I am trying to add a web form to a web page that includes a dependant drop down menu. For example, I'd like there to be a drop down menu called "Interested Class" with three fields: "Tribe Fit", "Tribe Life" and "Tribe Core". When a user selects one of these fields ("Tribe Fit" for example), I want a new drop down menu to appear with the following choices: "7:00am", "12:30pm", "7:00pm".
    I have attempted this here and as you can see it's not working at the moment. The time drop down fields should be hidden until an "Interested Class" has been selected.
    http://www.cityfitness.com.au/nicole-form-test?Preview=True
    I've placed my JS code in the HTML view of the actual web page as I noticed when I place it in the actual custom form it doesn't carry through to the page. I don't know if I'm placing my JS in the correct place though.
    Here is a snippet of my code if it helps:
    <tr>
                            <td><label for="CAT_Custom_328771">Interested Class</label><br />
                            <select name="CAT_Custom_328771" id="CAT_Custom_328771" class="cat_dropdown">
                            <option value=" ">-- Please select --</option>
                            <option value="Tribe Fit">Tribe Fit</option>
                            <option value="Tribe Life">Tribe Life</option>
                            <option value="Tribe Core">Tribe Core</option>
                            </select>
                            </td>
                        </tr>
                        <tr>
                            <td>
                            <div id="fit" class="times">
                            <select>
                            <option value="7:00am">7:00am</option>
                            <option value="12:30pm">12:30pm</option>
                            <option value="7:00pm">7:00pm</option>
                            </select>
                            </div>
                            <div id="life" class="times">
                            <select>
                            <option value="7:00am">7:00am</option>
                            <option value="8:00am">8:00am</option>
                            <option value="11:30am">11:30am</option>
                            </select></div>
                            <div id="core" class="times">
                            <select>
                            <option value="8:00am">8:00am</option>
                            <option value="11:30am">11:30am</option>
                            <option value="12:30pm">12:30pm</option>
                            </select>
                            </div>
                            </td>
                        </tr>
                        <tr>
                            <td><input class="cat_button" type="submit" value="Submit" id="catwebformbutton" /></td>
                        </tr>
                    </tbody>
                </table>
                <script type="text/javascript" src="/CatalystScripts/ValidationFunctions.js"></script>
                <script type="text/javascript">
    $(function () {
        $('#CAT_Custom_328771').change(function () {
            $('.times').hide();
            $('#' + $(this).val()).show();
    //<![CDATA[
    var submitcount67919 = 0;function checkWholeForm67919(theForm){var why = "";if (theForm.FirstName) why += isEmpty(theForm.FirstName.value, "First Name"); if (theForm.LastName) why += isEmpty(theForm.LastName.value, "Last Name"); if (theForm.EmailAddress) why += checkEmail(theForm.EmailAddress.value); if (theForm.HomePhone) why += isEmpty(theForm.HomePhone.value, "Home Phone Number"); if (theForm.HomeAddress) why += isEmpty(theForm.HomeAddress.value, "Home Address"); if (theForm.HomeCity) why += isEmpty(theForm.HomeCity.value, "Home City"); if (theForm.HomeState) why += isEmpty(theForm.HomeState.value, "Home State"); if (theForm.HomeZip) why += isEmpty(theForm.HomeZip.value, "Home Zipcode"); if (theForm.HomeCountry) why += checkDropdown(theForm.HomeCountry.value, "Home Country"); if(why != ""){alert(why);return false;}if(submitcount67919 == 0){submitcount67919++;theForm.submit();return false;}else{alert("Form submission is in progress.");return false;}}
    //]]>
    </script>
            </form>
    Can anyone please help explain to me how I can make this work? I am only a JS beginner - so please try to explain in simple terms if possible.
    Thank you!
    Nicole

    This wont work, Needs to be a lot more then this and CSS to hide things rather then script hiding them.
    Nicole, The times that are availible I gather differ depending on the type of the dropdown?
    You do not need multiple time dropdowns.
    Steps you need to do first on the form:
    1. Ensure the custom form field dropdown for interested class exists.
    2. Have custom dropdown with all the times that any of them can be. This is CSS hidden by default.
    3. Also CSS hide all the options in the select as well in your CSS.
    Next can you show what classes have what times as an example then can put the code more relevent to your example you can work off.
    The code will follow along the lines of....
    Dropdown On Change
              If selected options is xxx class then
              fade in option times  dropdown 
              Show these otpion times
            if selected option is zzz class then
              fade in option times dropdown
                   show these times
    More control as you need to work properly, only two dropdowns needed.

  • How can I create a rollover drop down menu from a link in Dreamweaver CS5?

    Hello all,  I am working on a portfolio website and I was just wanting to know if there is any way that I can create a drop down menu from a text link that cascades once the cursor has made contact with the link. I would like to have it in my navigation bar where the Portfolio link is. Basically, my navigation bar looks like this : Home | Resume | Portfolio | Contact. I only want three items on the drop down menu beneath the portfolio link: Traditional Art, Photography, Graphic Design. I would really appreciate any help I can get! Thanks!

    Have a look at what Nancy does http://alt-web.com/DEMOS/CSS-Horiz-menu-2.shtml

  • 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 ).

  • Put a editable drop down box on Adobe forms

    Hi All,
        I have created an Adobe form in that  I have to create an editable  drop down box for each line item in the table data.
    If anybody knows pls send those to me ASAP, it's an urgent requirement.
    Waiting for reply.
    Thanks.

    Hi
    Go through the link given below:
    Re: How to handle Drop Down Box on Interactive Adobe Form
    Do the following in your form Designer:
    1. Open the form.
    2. Select the Drop down list.
    3. Select Object Palette>Field.
    4. Their will be option list item.
    5. Click on the icon.
    6. Give the text below in the text area.
    7. Add as many items as you want.
    With Regards
    Nikunj Shah

  • Drop down box

    I am using ACrobatX pro.  I am a determined novice and any help is appreciated.
    Before I added any code I created my PATTERN drop-down box and my ColorSelect drop-down box. For the ColorSelect box, which is the one I want to vary depending on the Pattern selected, I have not entered any items since this is what I want the JavaScript to do after the pattern is selected.
    Next I went to TASKS, OTHER TASKS, JAVASCRIPTS, DOCUMENT JAVASCRIPTS
    I used the article Programming List and Combo fields in Acrobat and LiveCycle forms - Part 1
    Thom Parker – September 18, 2007 which I was referred to by GKaiseril, and added the following code which I modified slightly changing the field names and eliminating the reference to a 2nd field for price.
    SetColorEntries()
    var oPatternColors = {
    Alamos: [
    ["Champagne"],
    ["Winter White"]
    Alana: [
    ["Champagne"],
    ["Winter White"]
    Altoona: [
    ["Barley"],
    ["Marble"],
    ["Winter White"]
    Ama: [
    ["Marble"]
    Anlu: [
    ["Champagne"],
    ["Marble"]
    function SetColorEntries() {
    if(event.willCommit) {
    // Get the new color list from the Pattern List
    // Since the selection is being committed,
    // event.value contains the pattern name
    var lst = oPatternColors[event.value];
    // Clear the Colors list if there are no colors for the selected pattern
    if( (lst != null) && (lst.length > 0) )
                                                          this.getField("ColorSelect").setItems(lst);
    else
                                                          this.getField("ColorSelect").clearItems();
    Then I selected the PATTTERN drop-down box properties, and picked Actions. Under select trigger I thought Mouse exit (kind of like after update) made the most sense. For select action I picked  run a Javascript. Then in the pop up window where it says Create and Edit Java Scripts I typed SetColorEntries();
    The  system accepted my code; however, when I try to run it, nothing happens. Well actually I get the dreaded error beep.
    I am hoping someone sees what I am doing wrong, and can offer some help. This order form will be very useful to my company and once I get it, I am hoping to apply to various other order forms I am creating for our customers
    Thanks

    Use the inspector for the cell you want the "Pop-Up" menu. Select Cell Format "Pop-Up". Then enter the list of items required. You can copy this cell to other cells with the same requirements.
    Regards,

  • How to create a drop down box and text box in screen painter?

    Hi i am totally new to this concept of screen painter..please can any tell me
    how to create drop down box in screen painter?
    How to create or display default date and time values?
    How to create text box for giving comments?
    How to store the records that we are entering in a table?
    Please can any one send me the procedure for creating all these its very urgent useful information will be surely rewarded.

    Hi,
    Check all these.
    1.how to create drop down box in screen painter?
    To get Drop Drown Box on screen .
    Follow these steps.
    1.
    Go to T.Code SE51 and Select Laypout for the Screen.
    2.
    Double click on the field for which u want Dropdown box.
    3.
    Then U will see Name ,Text ,DROPDOWN.Click on that and select List Box or ListBox with key . Better to to select first one.
    4.
    Save and Activate ur screen .
    5.
    Enter the following piece of code in the PBO of the screen.(Change for ur requirement).
    6.
    The following code should be written under PROCESS BEFORE EVENT in the MODULE.
    TYPE-POOLS :vrm.
    DATA:
      i_natio TYPE vrm_values, "-->Table that is passed through FM vrm_set_values
      w_natio LIKE LINE OF i_natio.
    DATA:
    BEGIN OF i_t005t OCCURS 0,
        land1 TYPE t005t-land1,
        natio TYPE t005t-natio,
    END OF i_t005t.
    IF i_t005t[] IS INITIAL.
      SELECT land1 natio
         FROM t005t
           INTO TABLE i_t005t
       WHERE spras = sy-langu.
      IF sy-subrc = 0.
      LOOP AT i_t005t .
          w_natio-key = i_t005t-land1.
          w_natio-text = i_t005t-natio.
          APPEND w_natio TO i_natio.
          CLEAR w_natio.
      ENDLOOP.
      ENDIF.
    ENDIF.
    CALL FUNCTION 'VRM_SET_VALUES'
    EXPORTING
                          id = 'I_IT0002-NATIO' "-->Field for which dropdown is needed.
                    values = i_natio
    EXCEPTIONS
       id_illegal_name = 1
                OTHERS = 2.
    IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    * WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    2.1.How to create or display default date and time values?
    1.
    create input field for DATE and TIME on screen.ex. DATE1 and TIME1 are screen field names .
    2.
    Just assign SY-DATUM to DATE1 and SY-UZEIT to TIME1 under PROCESS BEFORE EVENT.
    3.How to create text box for giving comments?
    1.
    Define one variable in the TOP include with type STRING means Global variable.
    2.
    Create one input field by giving screen field name which u have defined in the above step.
    4.How to store the records that we are entering in a table?
    For this case.. Create one table control. you can select one record and create record in the Z table by pressing button on Application toolbar..
    Check the following steps to handle Table control.
    1).
    U should take one variable in your internal table or in structure which
    is used for table control fields
    ex :
    data :
    begin of itab occurs 0 ,
        mark type c , "This is to select the record.
        matnr like mara-matnr ,
        matkl like mara-matkl,
        maktx like makt-maktx,
    end of itab .
    Controls: TABC types TABLEVIEW using screen 100.
    2).
    This mark variable should be given in Table control properties.
    follow the path
    double click on the table control-->attributes .->select
    w/SelColumn and in that itab-mark. Check in the figure.
    [Table control properties screen|http://bp2.blogger.com/_O5f8iAlgdNQ/R99gOUH8CXI/AAAAAAAAA9I/d3gOum1fJ6s/s1600-h/pic28145-796618.jpg]
    3).
    After that. Take this example.
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_0100.
    LOOP AT ITAB WITH CONTROL tabc
    ENDLOOP.
    PROCESS AFTER INPUT.
    MODULE CANCEL AT EXIT-COMMAND.
    LOOP AT ITAB.
       Module read_table_control.
    ENDLOOP.
    module user_command_0100.
    In this Module read_table_control, You should write the following code
    MODULE read_table_control INPUT.
    MODIFY itab INDEX tabc-current_line."( This will update the
    "ITAB table MARK field with 'X ' whatever we have selected
    "on table control.)
    ENDMODULE.
    4)
    If you want to Delete some of the records from Table control
    follow this code …Create one pushbutton and give Fucnction code to that
    and write below code
    CASE OKCODE.
    WHEN 'CREATE'.
    LOOP AT itab WHERE mark = 'X'.
    "Use UPDATE statement to create new record.
    ENDLOOP.
    ENDCASE.
    I hope that you will get something.
    Regards,
    Venkat.O

  • How to create Drop Down box in screen painter..??

    Can anybody give me sample code or detailed description about creating Drop-Down Box in a screen...??
    I have created the drop down box in screen..
    But how to make data to be visible in Dropdown box, when i click the drop icon in that box...???
    Regards
    Pavan Sanganal

    Here are couple of DEMO programs for the same functionality
    DEMO_DROPDOWN_LIST_BOX       
    DEMO_DYNPRO_DROPDOWN_LISTBOX 
    You execution sequence will be PBO - Process before output, then the screen is displayed and the PAI Process after input.
    Regards,
    Ravi
    Note : Please mark all the helpful answers

  • How to create a drop down box values on design time?

    Hello,
    I have a drop down box that I would like to edit on design time to have the valus 1 to 10.
    Is it possible to doo it on design it or do I have to create a loop in the code to do that?

    See go to LocalDictionary->Data Type-> SimpleType Right Click and create a Simple Type giving some Package Name
    Once u have created
    There u will see Enumeration Tab and give Key Value Pairs by pressing New Button
    Now Create a Context Attr and at Type property select that three dots
    Then go to Dictionary Simple Type and select the Package u have given
    then select the Simple type u have created
    Then assign the context Attr to the UI Element
    Message was edited by: krish kanth

Maybe you are looking for

  • Display of FI document numbe and material document number

    Hi, I want to display both the material document number ( RBKP ) and the acccounting document number ( BSET ) together while posting the Invoice using MIRO transaction. Pl provide with your valuable suggestions. Regards, R. Dillibabu.

  • Need Help in Workflow - User decision

    I have to pass 5 parameter with this user decision title but they only give 4 parameter options in the user decision step. Is there anyway I can have five parameter place? Please help

  • Attachments looses names when distributing from forms

    Hi, I use forms (RUN_REPORT_OBJECT) to run and distribute (to email) a report with additional attachments. I dynamically create the distrubution list and store it and the files to attach on the application server. The reports run ok, but in the email

  • Mobile E-Mail - $9.99 Data Plan vs. $5.00 Monthly Charge

    My wife is due for her phone refresh, and I am looking at phones with good text capabilities primarily, but also with the ability to check e-mail from time to time.  I am having trouble gauging whether it would be a better deal to get the $9.99 data

  • SAN partitions vs separate disks

    Hi all, We're currently on a SAN that has individual disks for the OS, for the oracle software, and for the datafiles of the various databases. We are planning to move to another SAN that will have 1 large lun presented to the OS. As i understand it,