Drop down list issue

Hi I am working on form which has a drop down box with 3 different values.
Different textfield Item have to appear on the page according to the value selected in dropdown list.
Problem is that I have to select each value from the dropdown list TWICE to make the corresponding textfield Item appear on the page.
Can you please help me with this?
I ran a javascript on "change" event and use Adobe Livecycle designer 8.
I can post javascript I use, if you want.

OK, I'm trying to make the above code work, but it's not. I have adapted it as posted below. By default I have my text field set to "invisible." My drop-down list and my text field are in the same subform as I want them to be side-by-side. Could this be my issue or am I just missing something really basic?
switch (xfa.event.newText)
case "New position":
form1.ClassificationSection.ClassificationRequest.SubmitJobDescription_Note.presence = "visible";
break;
case "Establish a generic position":
form1.ClassificationSection.ClassificationRequest.SubmitJobDescription_Note.presence = "invisible";
break;
case "Delete a position":
form1.ClassificationSection.ClassificationRequest.SubmitJobDescription_Note.presence = "invisible";
break;
case "Review and update a position":
form1.ClassificationSection.ClassificationRequest.SubmitJobDescription_Note.presence = "visible";
break;
case "Reclassify a position":
form1.ClassificationSection.ClassificationRequest.SubmitJobDescription_Note.presence = "visible";
break;

Similar Messages

  • Drop Down list issues in jsp

    Hi,
    I am facing an issue with drop down list in jsp pages on page postback. Let me explain in detail. I have a client.jsp page which has a drop down list and a text box. The drop down list is populated from an Action class (lets say testAction.java). In the client action form class there is a validation which requires the user to enter some value in the text box.
    So here is the problem, when the client.jsp page loads, the drop down list is populated perfectly, but then the user clicks submit button without entering anything in the textbox, the page loads again with an error message ("Please enter some value in the textbox"). At this point the drop down list does not contain any value. Any ideas what could I do?
    I am posting the code here for individual pieces,
    Struts-config.xml_
    <action path="/client" type="com.myapp.struts.testAction" scope="session">
    <forward name="success" path="/createClient.jsp"/>
    </action>
    <action input="/createClient.jsp" name="ClientActionForm" path="/createClient" scope="session" type="com.myapp.struts.ClientAction">
    <set-property property="cancellable" value="true" />
    <forward name="success" path="/loginSuccessful.jsp"/>
    <forward name="cancel" path="/Welcome.do"/>
    </action>
    index.jsp_
    <h5><html:link action="/client" styleClass="purplelink">Create a new client</html:link></h5>
    testAction.java_
    public ActionForward execute(ActionMapping mapping, ActionForm form,
    HttpServletRequest request, HttpServletResponse response)
    throws Exception {
    ArrayList<String> arrList = new ArrayList<String>();
    arrList.add("sports");
    arrList.add("music");
    arrList.add("test 1");
    arrList.add("test2");
    request.setAttribute("mylist", arrList);
    return mapping.findForward(SUCCESS);
    createClient.jsp_
    <select name="droplist">
    <c:forEach var="itemName" items="${mylist}">
    <option><c:out value="${itemName}" /></option>
    </c:forEach>
    </select>
    <html:text property="clientName" />
    ClientActionForm_
    public ActionErrors validate(ActionMapping mapping, HttpServletRequest request)
    ActionErrors errors = new ActionErrors();
    if (getclientName() == null || getclientName().length() < 1) {
    errors.add("name", new ActionMessage("error.name.required"));
    return errors;
    Here is the process/page flow.
    index.jsp is the first page which is loaded.
    Link on index.jsp calls action="/client"
    This pulls mapping from struts-config and calls testAction.java
    This populates the arraylist and returns to the createClient.jsp page (mapping from struts-config.xml)
    Now createClient.jsp page has two fields (dropdown list and textfield=clientName) and a submit button
    if user clicks submit, clientActionForm is called and does not enter anything into clientName text field, error message is returned.
    At this point, the drop down list in createClient.jsp is not populated and is returned as empty, even though the scope=session in struts-config.xml
    Please provide some inputs on how can I handle this issue.
    Thanks
    Ashish

    I think one solution would be instead of putting the list in the request, but it in your ActionForm.
    Add a field to the ClientActionForm with getters and setters.
    Then change your action.
    ArrayList<String> arrList = new ArrayList<String>();
    arrList.add("sports");
    arrList.add("music");
    arrList.add("test 1");
    arrList.add("test2");
    ClientActionForm frm = (ClientActionForm)form;
    frm.setMyList(arrList);
    return mapping.findForward(SUCCESS);

  • FME audio drop down list issue

    Currently FME only lists my recording devices (microphone, line in etc... I do not have stereo mix) and none of my playback devices (Default audio devices or any other), was it intentional that the only way to stream audio from my PC is via use of stereo mix or is my installation just messed up.
    Also windows 7 makes stereo mix irrelavent (listen to device feature) so it would be nice to have playback devices listed in the audio drop down list if the guys at adobe intentionaly made it so only recording devices were usable with the program.
    If this is just an issue with my install dont reply with "reinstall" I already have, so at this point to get it working if it is indeed just an issue on my end is to reformat and reinstall windows
    Also running windows 7 ultimate 64bit, sound card is the default card rolled in with the Striker Extreme mobo.

    You can use a line-in cable and provide the sound card output to the line-in input.

  • New Adobe DC works not with fillable Documents (Drop Down Lists) in iOS

    Hi, the new Adobe DC for iOS (iPad) has a big Problem. When you have a fillable Form with some Drop Down Fields it only works with the first Drop Down. Any other Drop Down will not work since you manualy restart the Adobe in the Task Manager. Please Fix that quick! It's not usable for my Company anymore!!!

    Hi together,
    i received a temporary sollution from Adobe to fix that Drop-Down List issue. It works ;-)
    Adobe wrote:
    Hi Adrian,
    Your sample form exhibits a bug in the latest release of Mobile Acrobat/Reader.  The catalyst for this bug is a drop down setting called “Commit selected value immediately”.  Because this setting is rarely used for Mobile forms (it is generally used when connecting to a backend or when you want your selection to immediately toggle something else in the form), it may have been overlooked during final testing.  Nevertheless, we are holding this bug in highest priority to be fixed in the next release of Mobile Acrobat/Reader.
    In the meantime, it may be possible to keep your forms usable while you wait for the next release. Some of your drop down fields use the “Commit selected value immediately” setting and some do not.  Looking at your form, it does not appear that this setting is necessary for any form logic (for example, I do not see any javascript or Actions associated with the fields that would mandate this setting). If the drop down fields that have this setting were modified to be like the other drop down fields that do not have this setting, I believe your form will become usable again.  I have done this for the sample form you sent and have attached it to this message. 
    Let me know if this solves your immediate problem.  And as mentioned, the bug has been triaged and is being addressed with the highest priority level to be included in the next release of Mobile Acrobat/Reader.

  • Drop-down lists, scrolling and IE 7 issue?

    I was using Captivate 3 prior to my work upgrading to
    Internet Explorer 7 and had no issues with capturing scrolling
    within a webpage and chosing an option on a drop-down list. I just
    recently started working on a new project and using IE 7.
    I went through my steps on using a drop-down list and
    scrolling through it to find an option. However, when I went in to
    edit the demonstration, the slide that showed the "selection" put
    the correct selection in the caption - however, the slide
    background image had somehow reverted the drop-down list to the top
    of the list rather than in the middle where the selection would
    have taken place.
    Has anyone else seen this?
    I went back did the same steps - but this time, I made sure
    to take an extra shot prior to clicking the option - so I had the
    correct screen showing for the lesson.
    Anyone else have any other issues going on with IE 7 and
    Captivate 3 that I should be aware of?
    Thanks.

    I have only been using Captivate for about a month now, but
    that is how it has always behaved for me...When you click and drag
    it starts the "Full Motion Recording". I have had mixed results
    with full motion so far. Scrolling up and down and zooming in and
    out of a page have been problematic. You can change these options,
    or turn off the full motion all together.
    Edit--Preferences--Recording--Full Motion Recording.
    BTW, I am using IE7 on a Vista machine so I cannot speak to
    the functionality prior to IE7.

  • HT1933 Following the instructions above, I'm constantly redirected to this help page rather than receiving any drop down list to select what my problem is. Are there any other ways to report issues with purchases?

    Following the instructions for reporting an issue with a purchase problem, when selecting "report a probelm", I am not provided with a drop down list, I am redirected to the help page instead.
    Is there any other way to report an issue where the app owner has taken the funds twice for the same product at literally the same time?

    To Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • Issue populating drop-down lists on newly created instances.

    I have a drop-down list on the main page and another ddl on the flowed subform. I have js code that populates the support type ddl when a selection is made on the team ddl. My issue is when I use instanceManager.addInstance(1); The new instance doesn't populate with the selection. How do I get it to populate. most of my code; not the array is at http://pastebin.com/uM0ssT8v

    Can anyone help???
    I have a date field on my jsp form. I want to ensure
    that the date is entered correctly.
    To do this I have 3 drop down lists....year, month,
    date.
    How can I populate the date list when the user selects
    a month?
    e.g. user enters "Feb". Date list should only display
    numbers 1 to 28 or 1 to 29 if it is a leap year.
    Any idea's or suggestions???

  • Related Issue column in tracking list gets changed into drop down list in Infopath

    Hi All,
     i have created Tracking list in sharepoint 2010. which has column[Related issue - lookup for field in list[title] by default.
    this field will have a multiple selection check box,2 buttons [Add and remove] and text box[which show the items selected in check box].
    my issue is ,when i try to modify my list in Infopath. this column[Related issue] gets changed into drop down list item.Is is possible  to get the same [old format] back. if so pls guide me..
    I faced the same in Radio button,but i restored it by changing it into option button in Infopath
    V Jean

    Hi ,
    The
    multiple-selection list box control should be by design in InfoPath form, which is corresponding to the SharePoint "Related Issues" field, in my opinion, it cannot be converted to [old format] in InfoPath form, you may need to use SharePoint Designer 2010
    to customize your Issue Tracking list NewForm.aspx/EditForm.aspx per the way in the following article, then "Related Issues" field will still be the old format,
    http://www.cjvandyk.com/blog/Articles/How%20do%20I%20-%20Customize%20the%20NewForm.aspx%20or%20EditForm.aspx%20of%20my%20SharePoint%20list.aspx
    Thanks
    Daniel Yang
    TechNet Community Support

  • C5.5 Issue with color/colour in matching question drop down list

    Hi is there a way to change the colour of the letters that appear in the drop down lists for a matching question in 5.5?
    I'm using white text on a grey background for my quiz slides, which is nice and easy to read, but then in the preview the letters in the drop down appear as white text on a white background. I can't see a way to change the font in the drop down back to black (as it is on my editing view), without also changing the colour of the answer text.
    Is there a way to change this?
    I've just tried covering the lists over with a chunk of background image - so that the user doesn't even know they're there, but the quiz slide has ordered the image behind the lists.
    Failing there being a way to change the colour, is there a way to have a matching slide without a drop down list at all?
    Thanks for reading
    Lynn

    Hi Shekhar
    Thanks for the extra info - I'd tried changing the properties and using the object style manager before, but hadn't considered using them together.
    This time, I followed your advice and:
    I set the colour for 'Matching entries' to black in the object style manager
    Then went into each column 1 entry and set the text to white
    The result was white text in the column, with black in the list. Much better than before!
    However, when I changed the text in column 2 to white, the list entries became white as well.
    After a lot of experimentation, I've discovered that if you just select the text object and change the colour, you change all the text including the lettering and numbering of the answer - this changes the list colour.
    If you change the text in the answer by highlighting it, this doesn't affect the lettering/numbering, however it still changes the drop down
    To leave the drop down the right colour you need to change the answer colour by highlighting first, but, and the order is vital, you need to insert a space between the letter/number and the answer text first.
    So, the end result I have is that the column 1 text is the right colour, the column 2 text is the right colour and the text in the drop down is the right colour. Unfortunately the lettering for the column 2 answers has to stay the same  as the letters in the drop down list, so they don't show up brilliantly (black on a dark grey background), but it's a massive improvement on the invisible list I had before!
    Thanks again!
    Lynn

  • Populate a drop down list with data from Excel and fill in a text field, based on drop down selectio

    Hi!
    I have a problem with a PDF form: There's a drop down list that I populate with Excel data that I've put in an XML file through an XSD file -- no problem here. The drop down list has a data binding to the XML file, so that a choice in the drop down list can be associated with an object in the XML file. So, when I make a choice in the drop down list, a corresponding object value is fetched from the XML file and put in a text field on the form.
    How to do this is described by Stefan Cameron here:
    http://forms.stefcameron.com/2006/07/29/dynamic-properties/
    There's a snag, though, and to describe it more clearly:
    The XML file contains three types of objects: role, role number, and role cost center. Of these I use the first and the third, i.e. the role and the role cost center. The drop down list contains the roles, and when I select a role, the corresponding cost center is filled out in the text field. So far, so good!
    But -- if the cost center has the same value for two or more roles, all of these roles "bounce back" into the drop down list, that is, they are all selected in the drop down list. How many of these you can see depend on the height of the drop down list -- if it's low you'll only see the first one.
    If I modify Stefan Cameron's data in his example I get the same behavior, so the problem seems to have to do with how XML data are fetched.
    I'm sure there's a workaround, but I can't find it! I've spent many hours browsing the web without finding anyone with a similar problem.
    Any suggestions appreciated!

    Although your issue is far beyond mine, I was hoping you can help me out.....
    I need to create a drop down list of names which I wish to somehow link to an Excel spreadsheet.
    Please let me know the steps I need to do.  I've tried several things, but nothing seems to work and I'm not sure what I am doing wrong.
    Thank you

  • Populating the "Collections" drop down list in FEP reports

    When an FEP Antimalware report (e.g., the Antimalware Activity Report) opens in Report Manager or the FEP console, I see a drop-down list labeled
    Collection: from which I need to make a selection before the report can run.  But on our site, this drop-down list is not populated, even though ConfigMgr shows that collections do exist on our site.
    The report is running under credentials that should have full access to everything in the relevant databases, so I'm puzzled.  Any suggestions?

    This old post and there are a lot of improvements in FEP's successor which is System Center Endpoint Protection (SCEP), you may try use SCEP and try reproduce the problem and if problem persist let us know.
    Sometimes, it is issue due to SQL database , so check SQL and make sure it is working correctly and is fully updated.

  • Fill-In-The-Blank drop-down list in HTML5 output

    I'm working in Captivate 7 (WIN) and developing for both SWF and HTML5 output, viewing courses in IE9 for Windows and Safari on iPad.
    I have a quiz containing a fill-in-the-blank question, using a drop-down list to select the correct answer, however it does not display the drop-down button or function correctly in HTML5 output (see screenshot).
    The issue began after updating to Captivate 7 version 7.0.1.237. The drop-down list worked prior to the update I installed recently. I'm viewing the published course locally and in the LMS, and it does not work in either.
    I've not read in the help documents that drop-down list questions are an unsupported question type in HTML5, and so I'm wondering if this is a bug that needs to be reported. Has anyone encountered this issue?

    Do you need scoring? There is a Scrolling Text interaction (more control, you can empty the variable and it will be displayed empty) but it is a non-interactive one, no score possible except by adding other interactive objects.
    Custom Short Answer Question - Captivate blog

  • The portlet name is not displayed in the portlet drop down list ?

    Hi,
    I use Sun Java System Portal Server 6 2005Q4 for windows 2000 server , use the following command to deployo portlet,
    I am not sure if I successfully deploy the portlet?
    pdeploy deploy -u amAdmin -w amadmin -p amadmin -d "cn=amldapuser,ou=DSAME Users,dc=icheng,dc=com" C:\Sun\PortalServer\tmp\portlet\portletsamples.war
    The message I got after execute the pdeploy command is =>
    Deploys the portlet war file and inserts the provider into display profile..
    OPTIONS
    --help Help message (false)
    -u --runasdn UID Bind DN (none)
    -w --password Password (none)
    -p --wc_password Password for WebContainer's Admin (none)
    -i --instance WebContainer's Instance into which the war file is to be deploye
    d (*)
    -d --dn LDAP DN of the target node (*)
    -g --global Global display profile (false)
    -r --rolesfile File containing the DSAME and portlet role mapping (*)
    -f --userinfofile File containing the user info mapping (*)
    -v --verbose Generate debug messages (false)
    -V --version Generate version information (false)
    -l --locale Locale information (en_US)
    OPERAND
    Specifies a path to the war location.
    Deploying to IWS
    Is this mean that successfully deploy the portlet ?
    After I deploy the portlet, I login to Access Manager, select the "service" from view, click the portal desktop,
    click "Manage Channels and Containers", click the "New Portlet Channel...", then click the portlet drop down list,
    the portlet name is not displayed in the portlet list.
    How can I make the portlet name displayed in the portlet drop down list ?
    Can someone help me ?
    Thanks!

    Hi
    According to your description, since this is SQL Server forum, as Olaf Helper’s post, could you get the correct result if you execute the following query in SQL Server Manager Studio (SSMS)?
    select UserName from aspnet_Users where UserId in(select FreindId from myFreinds where UserId in(select UserId from aspnet_Users where UserName = '<your typed name>'))
    If you cannot get the correct result in SSMS, I recommend to check the Transact-SQL statement. Apart from the error message, we also need to know the table structure, data, join relationships between tables for further analysis.
    However if there is no problem in SQL Server query, it will be an issue that regards ASP.NET and website deployment. I suggest you to post the question in the ASP.NET forums at
    http://forums.asp.net/ . It is appropriate and more experts will assist you.
    In addition, there is detail about listbox control in asp.net. You can review the following links:
    How to Bind/Load/Fill ListBox with Sql Server Database in asp.net:http://www.webcodeexpert.com/2013/07/how-to-bindloadfill-listbox-with-sql.html#.U5f75_6KCM9
    How to get multiple selected value in ListBox control - ASP.NET using C#:
    http://www.dotnetfox.com/articles/how-to-get-multiple-selected-value-in-listbox-control-Asp-Net-using-C-Sharp-1047.aspx
    Thanks
    Lydia Zhang

  • Trouble displaying A drop down list in Contribute

    I am having trouble with a client that has downloaded Contribute onto their windows computer. The page in question contains a drop-down  nav- bar which I coded using CSS. I have had the page certified by W3 CSS and the html also went through at 100%. It displays perfectly in all browsers and also in my version of Contribute 6.5. My client is also running the same version of Contribute, however the drop-down menu won't render properly in their version of contribute unless they try to edit the page. This is a problem because they rely on the navigation bar to navigate the site for editing. On their version of contribute the navigation bar appears as a lengthy unordered list instead of a smooth drop-down list which appears on all other browsers and versions of Contribute. I have changed the name of the CSS file and its location several times. This hasn't solved the issue. Any suggestions please???

    Hi Dominic,
         Thanks for showing interest.
    I spoke to Adobe staff today who were very helpful. They put it down to a bad installation of Contribute. I have suggested to the client to clear the cache and reinstall Contribute tomorrow morning. IE is working fine on my clients machine and shows the page correctly. I will keep you posted on how it goes.
    This is how it displays on the same version of Adobe Contribute on my Mac and all browsers.

  • Dynamic Drop-Down list in a table row or subform

    Hi,
    I need to display multiple drop-down list elements dynamically. Each of these DDLs will have different values.
    For example:
    The table will have 2 columns (Student Name text field and Courses drop-down)
    Row 1: Student 1 & Courses of Student1 in DDL
    Row 2: Student 2 & Courses of Student2 in DDL
    When I execute my app, both the drop-downs (i.e. for both the students) are displaying all the courses of all the students. I tried a lot with binding options..
    $record.Students[].Courses[]
    is refering to all elements of the node. If I use the index 0 for Students node, I am getting 1st element rows.. if I use 1, I am getting 2nd element rows,,,
    But How can I set the binding so that Row 1 has only Student 1 courses and Row 2 has Student 2 courses?
    IS THERE A WAY TO DYNAMICALLY SET THE BINDING USING JAVASCRIPT?
    I tried with tables, subforms.. it is not working. It is working fine in plain web dynpro table but not in an interactive form. I am using NW 2004s SP11, Web Dynpro Java. LiveCycle Designer 7.1, Adobe Reader 7.09.
    There are some other posts talking about similar issue.. I tried the solutions mentioned there as well, but nothing worked.
    I would really appreciate if any one can provide a solution or pointer to my problem.
    Thanks
    Ram

    Hey. Uh, this probably isn't the answer you were looking for, but it sounds like you've got a problem with your database design there. Generally speaking, your tables shouldn't have multi-valued fields, in the relational model anyway (sql). Instead, you should look at adding a separate table like EMPLOYEE_HOBBIES. Then you have a foreign key using the employees primary key as the foreign key in the employee_hobbies table, see what I mean? I might have misunderstood your explanation though, I'm not sure.
    Alternatively, you could just have hobbies as a big freeform varchar field, and don't bother to make people separate their hobbies into different fields (you'd have to abandon the drop-down listbox idea in this case). If there's no really important reason to make the distinction, then it's probably easier just to not do it.

Maybe you are looking for

  • Inventory: incorrect valuated stock values

    this is regarding strange behavior of value of valuated stock (0VALSTCKVAL) in inventory management cube. after initializing 2LIS_03_BX and 2LIS_03_BF, we're running daily deltas on 2LIS_03_BF. keyfigure ValStockValue shows incorrect value in report.

  • TouchSmart tx2-1370us Recovery Disc Set Failure

    I am posting on behalf of my sister.  Here is her story: Her TouchSmart tx2-1370us notebook's screen broke a while back.  It was under warranty from where she bought it from so it was sent off to be repaired.  When it came back the screen was fixed b

  • Cannot switch tabs past a tab viewing a PDF

    When I have a tab open with a PDF in it (using Adobe Acrobat 9.3.0.148 plugin) I cannot switch tabs using Ctrl-Tab and Ctrl-Shift-Tab past that particular tab. Ctrl-W won't close the tab with the PDF in it either. It looks like if you dont click with

  • No login manager + networkManager = no wireless

    Hi, could someone help me out? I'm almost pulling my hair out trying for two days to get the net working. It worked only once then I got back to the same error. It's not a driver fault, it's PAM that isn't playing nice to me, or me with him I guess I

  • How do i retrieve information from the JSP into my SELECT statements?

    I need to retrieve the information that is being entered into JSP page.. So that i can use them to do an SQL statement.. but im not very sure if my codes are correct.. Following are my codes.. Pls help.. thx MyJSPPage.jsp <jsp:useBean id="user" class