Hidden drop-down list

Hi,
I have a form with multiple drop-down, text fields, etc. Depending on how the user responds to drop downs, but what I would like to do is for users to be able to part complete the form, save it and when it reopens to prompt them with the part completed form and a new question automatically opens, but this question would only open after the form had been saved for the first time.
A bit confusing I know :-)

Hi,
I made a sample for you.
It has 3 scripts to create and check a counter for how many time the form has been saved.
If it was only saved once, it shows a message box.
https://acrobat.com/#d=xEOrpXZ5VRywi2W8eRVsgA
The first script is in a script object "Actions". It creates the counter.
function initSaveCounter(targetObject) {
    if (targetObject.extras.nodes.namedItem("SaveCounter") === null) {
        targetObject.extras.nodes.append(xfa.form.createNode("extras", "SaveCounter"));
        targetObject.extras.SaveCounter.nodes.append(xfa.form.createNode("integer", "state"));
        while (targetObject.extras.SaveCounter.nodes.length > 0) {
            targetObject.extras.SaveCounter.nodes.remove(targetObject.extras.SaveCounter.nodes.item(t argetObject.extras.SaveCounter.nodes.length - 1));
        var newState = xfa.form.createNode("integer", "SaveCounter");
        newState.value = 0;
        targetObject.extras.SaveCounter.nodes.append(newState);
The second script is in the formReady:Event. It checks if the current count or creates a counter in none exists.
var saveCount;
if (this.extras.nodes.namedItem("SaveCounter") == null) {
          Actions.initSaveCounter(this);
} else {
          saveCount = this.extras.SaveCounter.nodes.item(0).value;
          if (saveCount == 1) {
                    xfa.host.messageBox("Form is not finished")
The third script is in the preSave:Event of the root node "Formular1/form1".
It increases the counter every time the form is saved.
this.extras.SaveCounter.nodes.item(0).value = this.extras.SaveCounter.nodes.item(0).value + 1;

Similar Messages

  • Help with Hidden Drop Down Lists in RBList subforms

    I have created a form that contains 3 isolated Radio Button lists, each with hidden subforms that are unique per each button.
    Two of my RBLists and subforms work perfectly, showing hidden Drop Down List options and other fields as they should when a button is selected.
    However, RBList3 presents the Drop Down lists as user entry fields only. Each hidden subform in RBList3 contains one drop down menu and one text box for instructions.
    I've used the same javascript to hide/show hidden fields when buttons are selected. All settings seem to match up. Here is a sample of my code:
    if(RBList3.F.rawValue != 2) 
        this.presence = "hidden";
        newsubform.presence = "hidden";
    else if(RBList3.F.rawValue == 2)
        this.presence = "visible";
        newsubform.presence = "hidden";
    Does anyone have any suggestions for how to make my Drop Down Lists in RBList3 show as functional Drop lists?
    I have attached the form for reference.

    Hi Paul,
    I see that the code works for radio button G selection in the change event. However, what I really need to happen...is for the RBList options to be present on the screen without any subform data until the user clicks button E, F or G. If either E or F is selected, then the drop list and the text box would pop up as you currently have them placed on screen.
    My original problem was that the EdgeDropDown2 list loses its functionality when wrapped in a hidden subform (i.e. SubformE or SubformF).
    Can I add code to the change event to make EdgeDropDown2 and PanzDrawTxt appear only if either E or F are chosen. The code you wrote below works only for G selection.
    if(this.rawValue != 3)
        EdgeDropDown2.presence = "visible";
        PanzDrawTxt.presence = "visible";
        EdgePanelChkBxTxt.presence = "hidden";
    }else {
        PanzDrawTxt.presence = "hidden";
        EdgeDropDown2.presence = "hidden";
        EdgePanelChkBxTxt.presence = "visible";   

  • Hidden drop down lists

    I am trying to achieve the effect on this website
    http://www.thedesignersrepublic.com/
    if you click on WORK on the right to display the drop down
    list and then click one of the options, you will see a list of sub
    headings appear.....any ideas of an extension in dreamweaver that
    will do this??cheers

    Here are some for how to do it in HTML and CSS -
    Check the uberlink and MacFly tutorials at PVII
    http://www.projectseven.com/)
    and the Navbar tutorial/articles at Thierry's place
    http://tjkdesign.com/articles/dropdown/)
    Or this one (more recent article):
    http://tjkdesign.com/articles/Pure_CSS_Dropdown_Menus.asp)
    Or to get it done fast, go here -
    http://www.projectseven.com/tutorials/navigation/auto_hide/index.htm
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "namtax" <[email protected]> wrote in
    message
    news:ei5rsd$5qs$[email protected]..
    > any idea of tutorials on how to do that??
    >
    > cheers

  • Displaying value only in Drop Down List

    Greetings,
    I have a drop down list with value:text as follows:
    01:Daylight
    02:Dusk
    03:Dawn
    04:Night
    I would like to present the user who clicks on the drop down list with all of the literal text options (daylight, night, etc), but once selected, the object populate and print only the value (01, 02, etc).
    I thought about resizing the object when the user clicks on it, and then resizing it back once selected, but this seems rather cumbersome.  Space on the printed form is very limited, which is why the value/codes are used to represent the actual literal options.
    Any methods or ideas would be greatly welcome
    Thanks!
    Brad

    Here is a sample that shows what I think you want. I have a TextField that is displayed. When the user enters the field, I hide this field and make a DDlist available to the user. This DDList is placed behind the TextField and is hidden (not part of the layout) until the user enters the TextField. I also hide the TextField (this code is on the Enter event of the TextField). Now that the DDlist is visible you can set up a DDList to display one thing but report another. This is what I did (look at the binding tab of the DDList). Now when the user selects an item from the DDList the TextField is updated, the DDList is hidden and the TextField is made visisble, then the cursor is placed in the next field. This code is on the Exit event of the DDList.
    Is this what you were trying to accomplish?
    Paul

  • How can I use two drop down lists for one time value?

    I want to enter the length of time that someone does an activity in hours and minutes using two drop down lists, then enter them as a single time value (H:i:s) in Mysql.
    I've used the basic drop down lists, and a few different variations of the following with no success (seconds is a hidden field with a value of "00"):
                           GetSQLValueString(strftime('%H:%i:%s', strtotime($_POST["sleeptimemin"]." ".$_POST["sleeptimehr"]." ".$_POST["seconds"])), "date"),
    This returns 00:00:16, no matter what is selected on the drop down list.
    Any help would be appreciated.

    MySQL stores times in human-understandable format, using the 24-hour clock.
    GetSQLValueString($_POST['sleeptimehr'] . ':' . $_POST['sleeptimemin'] . ':00', "date"),

  • How can I make a bound drop-down list using OAF?

    Please note, this is for OAF. I am aware of the support in ADF.
    I'm sorry this is such a basic question, but I've been trying for days, and I can't think of anywhere else to look for an answer.
    I need a simple drop-down list, not a search. This particular list only has 10 or so items. It is based on a view containing a code value, and a description. I need all descriptions to be available at all times. Just click the arrow, and the entire list is displayed. When the user selects an entry, the code associated with the discription populates a bound attribute. Ideally, when the page is instantiated, the code value controls the text value visible in the collapsed drop-down list. Visually, it would be similar to an html <select> element.
    Can someone please tell me how I can produce such a simple thing, or point me to some documentation?
    Thank you.

    Thank you for the excellent reference Peddi. I had played with the OAMessageChoiceBean component yesterday, but I was able to tell from your instructions that "Picklist Display Attribute" and "Picklist Value Attribute" really are not for binding to the database EO. That was the key piece of information that had me confused.
    In addition to adding the messageChoice component to the page, I needed to write some code to synchronize the picklist value with the corresponding code value, which I placed in am OAFormValueBean (hidden form field) which I could then bind to my application's database EO in the controller, running in the processFormRequest procedure:
    /** Synchronize the catalog code with the selected catalog name */
    protected void syncCatalogValues(OAPageContext pageContext,
    OAWebBean webBean, MyApplicationAMImpl am) {   
    OAMessageChoiceBean mcb =
    (OAMessageChoiceBean) webBean.findChildRecursive("CatalogName");
    OAFormValueBean cc =
    (OAFormValueBean) webBean.findChildRecursive("CatalogCode");
    String catalogDescription = mcb.getText(pageContext);
    if (catalogDescription != null) {
    String catalogCode = am.getCatalogCode(catalogDescription);
    cc.setValue(pageContext, catalogCode);
    Along with a little code to get the catalogCode value from the LOVVO, that's all it took.
    Thanks again. This was a great help.
    Pete

  • Getting problem in hiding drop down list in jsp pages

    Hi All,
    I have a jsp in which i created a tabbed panel & put 3 forms .
    1 of the form contains 3 drop dwom list & few text boxes.
    All 3 forms are inside <div> tags .
    Clicking on any one of the tab corresponding form is getting displayed with all its form fields hiding other 2 form fields.
    but problem is coming with 1 form having drop down list.
    all its field get hidden except these drop down list.
    i am using following script to hide other forms
    function showit(tab){
        if(tab == "tab1stuff"){
            document.getElementById('tab1stuff').style.zIndex="2";
            document.getElementById('tab2stuff').style.zIndex="1";
            document.getElementById('tab3stuff').style.zIndex="1";
              document.getElementById('tab4stuff').style.zIndex="1";
        else if(tab == "tab2stuff"){
            document.getElementById('tab2stuff').style.zIndex="2";
            document.getElementById('tab1stuff').style.zIndex="1";
            document.getElementById('tab3stuff').style.zIndex="1";
              document.getElementById('tab4stuff').style.zIndex="1";
        else if(tab == "tab3stuff"){
            document.getElementById('tab3stuff').style.zIndex="2";
            document.getElementById('tab1stuff').style.zIndex="1";
            document.getElementById('tab2stuff').style.zIndex="1";
              document.getElementById('tab4stuff').style.zIndex="1";
    }Plz help me in this regard.
    I used style.visible="false" but that is not working here.
    Thanks in advance.

    Thanks you very much.
    Now I am using javascript
    if(tab == "tab1stuff"){
            document.getElementById('tab1stuff').style.visibility="visible";
            document.getElementById('tab2stuff').style.visibility="hidden";
            document.getElementById('tab3stuff').style.visibility="hidden";
            document.getElementById('tab4stuff').style.visibility="hidden";
        } Its working ..Earliar it was PHP script.

  • Error while populating drop down list with values from a database

    Hi all,
    I have a JSP page with a drop down list that is to be populated with values from a database.
    This is the code in my JSP file:
         <!-- Form for picking the floor -->
             <!-- Get the available floors -->
             <% ArrayList<Integer> floornumbers = dataManager.getAllFloorNumbers();
                Iterator<Integer> iterator = floornumbers.iterator(); %>
             <!-- Create the form for users to select the floor -->
             <form id="floorselectionform">
                  <input type="hidden" name="action" value="floorselected"/> <!-- Guides the servlet to redirect to the appropriate page -->
                  Select floor | <select name="floorselector" id="floorselector">
                       <% while (iterator.hasNext()) { %>
                       <option value="<%=iterator.next().intValue()%>"> <%=iterator.next().intValue()%> </option>
                       <% } %>
                  </select>
                  <input type="submit" value="Go!"/>
             </form>   The DataManager.java class simply forwards this to its respective Peer class, which has the code shown below:
          package seatplanner.model;
        import java.sql.Connection;
        import java.sql.ResultSet;
        import java.sql.SQLException;
        import java.sql.Statement;
        import java.util.ArrayList;
        /* This class handles all floor operations */
         public class FloorPeer
         /* This method returns all the floor numbers */
         public static ArrayList<Integer> getAllFloorNumbers(DataManager dataManager) {
            ArrayList<Integer> floornumbers = new ArrayList<Integer>();
            Connection connection = dataManager.getConnection();
            if (connection != null) {
              try {
                Statement s = connection.createStatement();
                String sql = "select ID from floor order by ID asc";
                try {
                  ResultSet rs = s.executeQuery(sql);
                  try {
                    while (rs.next()) {
                      floornumbers.add(rs.getInt(1));
                  finally { rs.close(); }
                finally {s.close(); }
              catch (SQLException e) {
                System.out.println("Could not get floor numbers: " + e.getMessage());
              finally {
                dataManager.putConnection(connection);
            return floornumbers;
         }  The classes compile properly, but when I load this page up in Tomcat it just freezes and does not load the form. I tested the DB connection and it works fine.
    What am I doing wrong in the JSP code?
    Thanks for the help in advance.
    UPDATE: I commented out the form, and added <%=floornumbers.size()%> right above the commented code to check if the ArrayList is indeed getting populated with the values from the database (the values are of type integer in the database). The page still freezes like before. I'm puzzled now :confused: .

    Wrong usage of Iterator.
    <!-- Form for picking the floor -->
             <!-- Get the available floors -->
             <% ArrayList<Integer> floornumbers = dataManager.getAllFloorNumbers();
                Iterator<Integer> iterator = floornumbers.iterator(); %>
             <!-- Create the form for users to select the floor -->
             <form id="floorselectionform">
                  <input type="hidden" name="action" value="floorselected"/> <!-- Guides the servlet to redirect to the appropriate page -->
                  Select floor | <select name="floorselector" id="floorselector">
                       <% while (iterator.hasNext()) {
                                    Integer inte = iterator.next();
                            %>
                       <option value="<%=inte.intValue()%>"><%=inte.intValue()%></option>
                       <% } %>
                  </select>
                  <input type="submit" value="Go!"/>
             </form>or make use of enhanced loop as you are already using J2SE 5.0+ for avoiding confusions.
    <!-- Form for picking the floor -->
             <!-- Get the available floors -->
             <% ArrayList<Integer> floornumbers = dataManager.getAllFloorNumbers(); %>
             <!-- Create the form for users to select the floor -->
             <form id="floorselectionform">
                  <input type="hidden" name="action" value="floorselected"/> <!-- Guides the servlet to redirect to the appropriate page -->
                  Select floor | <select name="floorselector" id="floorselector">
                       <% for(Integer inte:floornumbers) {%>
                       <option value="<%=inte.intValue()%>"><%=inte.intValue()%></option>
                       <%}%>
                  </select>
                  <input type="submit" value="Go!"/>
             </form>and a lot better thing would be making usage of basic Taglib provided with JSTL spec or struts spec which make life easier and simple.
    something like usage of <c:forEach/> or <logic:iterate/> would be lot better without writing a single scriptlet code.
    Hope that might help :)
    REGARDS,
    RaHuL

  • How to populate data from dynamic drop down list to the text field

    Hi,
    I tried to populate data from dynamic drop down list to city field. I would like to concat data from drop down list.When selecting add button to add the item and select item from drop down list, data should be displayed in the text field. However, Please help. I spent alot of time to make it works I am not successful.
    Please see the link below.
    https://acrobat.com/#d=SCPS0eVi6yz13ENV0cnUdw
    Thanks for your help
    Cindy

    Hi Rosalin,
    Loop the hidden table, get the values and populate drop down in each iteration.
    DropDownList1.addItem("Text","Value");
    You can use one more solution for this scenario. If it is a matter of 2,3 dropdowns, put three dropDowns in the form layout and give seperate static data binding to them. At run time make the dropDowns hide/visible as per the requirement.
    Hope this helps.
    Thanks & Regards,
    Sanoosh

  • How do I pass a username form variable from a drop down list/menu to another page?

    Hi,
    I have a login_success.php page that has a drop down list/menu (which lists usernames). I want the user to click on their user name, and when they click the submit button the username information to be passed over to the username.php page which will contain a recordset, sorted by username.
    How do I pass the username info from the drop down list/menu to the username.php page?
    The drop down menu is connected to a recordset listUsername, I have filtered the recordset with the Form Variable = username, and I have used the POST method to send the username to the page username.php. I'm not sure how to structure the php or which page to place it on.
    <form id="form1" name="form1 method="post" action="username.php">
         <label for="username_id">choose username:</label>
         <select name="username_id" id-"username_id">
              <option value="1">username1</option>
              <option value="2">username2</option>
              <option value="3">username3</option>
              <option value="4">username4</option>
         </select>
         <input type="submit" name="send" id="send" value="Submit" />
         <input type="username" type="hidden" id="username" value="<?php echo $row_listUsername['username']; ?>" />
    </form>
    Could somebody help me please?
    Thanks.

    I would not post the variable over, In this case I personally would send it through the URL and use the $_GET method to retreve it. For Example.
    <html>
         <head>
              <title>Test Page</title>
              <script type="text/javascript">
                   function userID(){
                        //var ID = form1.userIDs.selectedIndex;
                        var user = form1.userIDs.options[form1.userIDs.selectedIndex].value;
                        window.location = "test.html?userID=" + user;
              </script>
         </head>
         <body>
              <form id="form1">
                   <select name="userIDs" id="userIDs" onchange="userID();">
                        <option>Select a User</option>
                        <option value="1">User 1</option>
                        <option value="2">User 2</option>
                        <option value="3">User 3</option>
                        <option value="4">User 4</option>
                   </select>
              </form>
         </body>
    </html>
    //PAGE TO RETRIEVE THE USERNAME
    <?php
    if(isset($_GET['userID'])
         $userID = $_GET['userID'];
         echo $userID;
         die;

  • Help with multipule drop down lists in a select query

    Hi I am trying to design a search query using 5 drop down lists coming from tables.  the front end looks like this
    I have the selections going to variables then by $_POST into the msqyl query my other code is
    MY CODE FOR THE FORM IS
      <form action="horse-events-devon.php?url_countyid=<?php echo  urlencode ($url_countyid ['url_countyid'])  ; ?>&go" method="POST">
        <table id="searchtable">
          <tr>
            <th>Find By Discipline</th>
            <th>Find By Venue</th>
            <th>Find By Championship</th>
            <th>Find By Organiser</th>
            <th>Equine Association</th>
            <th>Submit Your Selections</th>
            </tr>
          <tr>
            <td><select name="dis_id">
                                        <?php
                                            $upcomingdis = upcomingdis($url_countyid);
                                            $upcoming_dis_bycounty = mysql_fetch_assoc ($upcomingdis);
                                        ?>
                                        <?php
                                        do {
                                          ?>   <option value="<?php echo $upcoming_dis_bycounty ['dis_id']; ?>" >
                                        <?php echo $upcoming_dis_bycounty ['dis_description']; ?></option>
                                        <?php
                                        } while ($upcoming_dis_bycounty = mysql_fetch_assoc ($upcomingdis));
                                        ?></select></td>
            <td><select name="ven_id">
                                        <?php
                                            $upvenbycounty_set = upcoming_venevents_bycounty($url_countyid);
                                            $upcoming_ven_bycounty = mysql_fetch_assoc ($upvenbycounty_set);
                                        ?>
                                        <?php
                                        do {
                                          ?>   <option value="<?php echo $upcoming_ven_bycounty ['ven_id']; ?>" >
                                        <?php echo $upcoming_ven_bycounty ['ven_name']; ?></option>
                                        <?php
                                        } while ($upcoming_ven_bycounty = mysql_fetch_assoc ($upvenbycounty_set));
                                        ?></select></td>
            <td><select name="champ_id">
                                        <?php
                                            $championship_set = findchampionships();
                                            $champlist = mysql_fetch_assoc ($championship_set);
                                        ?>
                                        <?php
                                        do {
                                        ?>   <option value="<?php echo $champlist ['champ_id']; ?>" >
                                        <?php echo $champlist ['champ_description']; ?></option>
                                        <?php
                                        } while ($champlist = mysql_fetch_assoc ($championship_set));
                                        ?></select></td>
            <td>
            <select name="org_id">
                            <?php
                                $uporgbycounty_set = upcoming_organevents_bycounty($url_countyid);
                                $upcoming_org_bycounty = mysql_fetch_assoc ($uporgbycounty_set);
                            ?>
                            <?php
                            do {
                            ?>   <option value="<?php echo $upcoming_org_bycounty ['org_id']; ?>" ><?php echo $upcoming_org_bycounty ['org_name']; ?></option>
                            <?php
                            } while ($upcoming_org_bycounty = mysql_fetch_assoc ($uporgbycounty_set));
                            ?></select>
            </td>
            <td><select name="***_id">
                                        <?php
                                            $upassbycounty_set = upcoming_assevents_bycounty($url_countyid);
                                            $upcoming_assbycounty = mysql_fetch_assoc ($upassbycounty_set);
                                        ?>
                                        <?php
                                        do {
                                        ?>   <option value="<?php echo $upcoming_assbycounty ['***_id']; ?>" >
                                        <?php echo $upcoming_assbycounty ['***_description']; ?></option>
                                        <?php
                                        } while ($upcoming_assbycounty = mysql_fetch_assoc ($upassbycounty_set));
                                        ?></select></td>
              <td><input name="submit" type="submit" /><input name="countyid" type="hidden" value="<?php echo $url_countyid ['url_countyid']; ?>" /></td>
            </tr>
          </table>
      </form>
      <?php
    if (isset($_POST['submit'])){
        if (isset($_GET['go'])){
        $countyid = $_POST['countyid'];
        $ven_id = $_POST['ven_id'];
        $dis_id = $_POST['dis_id'];
        $champ_id = $_POST['champ_id'];
        $org_id = $_POST['org_id'];
        $event_id = $row['event_id'];
            $sql = "SELECT DATE_FORMAT (events.startdate, '%a, %d, %b')
                       AS stdate, events.event_id, events.title, events.ven_id, events.org_id,
                       venue.county_id, venue.ven_id, eventdisciplines.event_id, eventdisciplines.dis_id, county.county_id, discipline.dis_id \n"
                . "FROM events \n"
                . "LEFT OUTER JOIN eventdisciplines \n"
                . "ON events.event_id = eventdisciplines.event_id \n"
                . "LEFT OUTER JOIN discipline \n"
                . "ON eventdisciplines.dis_id = discipline.dis_id \n"
                . "LEFT OUTER JOIN venue \n"
                . "ON events.ven_id = venue.ven_id \n"
                . "LEFT OUTER JOIN county \n"
                . "ON venue.county_id = county.county_id \n"
                . "WHERE events.ven_id = ({$ven_id} OR events.org_id = {$org_id})\n"
                . "AND events.startdate > NOW()\n"
                . "AND venue.county_id = {$countyid}  \n"
                . "ORDER BY startdate ASC";
        $result = mysql_query ($sql, $connection);
    ?>
    My problem is at the WHERE point,  how do I code for single and multipule selections,  The       . "WHERE events.ven_id = ({$ven_id} OR events.org_id = {$org_id})\n" throws and error.
    How am I best programing this type of query,  ??  Should it be with php ??

    The best thing is to dynamically build your where clause based on the user selection. Test the values of all form fields and if the user does not make a selection, do not include that in the where clause.
    Trying to build a single, static where clause that accounts for all possible user input permutations is extremely difficult.

  • In Firefox 4, how do I get back the context menu for the drop down list of the Location Bar so I can Open Link in New Tab, which I did often in FF 3?

    Firefox 3 has a context menu for the drop down list of
    the Location Bar. One option on this menu I used often
    is "Open Link in New Tab" -- quite convenient.
    This context menu has disappeared in Firefox 4.
    Can I get it back?

    See also:
    *Tools > Options > Privacy > History: "Remember search and form history"
    *https://support.mozilla.org/kb/Form+autocomplete
    The "Use custom settings for history" setting allows to see the current history and cookie settings, but selecting that setting doesn't make any changes to history and cookie settings.<br />
    Firefox shows the "Use custom settings for history" setting as an indication that at least one of the history and cookie settings is not the default to make you aware that changes were made.<br />
    If all History settings are default then the custom settings are hidden and you see "Firefox will: (Never) Remember History".<br />

  • How to add a interactive drop-down list

    I want a drop-down list that will add a set of required fields based on the choice from the list.
    In this case, we want users to fill in their job title, and based on that title selected we need them to fill in specific licensing information. I haven't found a javascript (or I don't have the expertise) to make this happen. I have done forms in the past that would just hide unneeded fields, but is there a way to actually have the fields become active, or appear based on the list selections? 

    Yes, it's possible. The general code would be something like this (as the drop-down field's custom validation script):
    var field1 = this.getField("FieldName1");
    var field2 = this.getField("FieldName2");
    var field3 = this.getField("FieldName3");
    if (event.value=="Value1") { // Show field1, hide the rest
         field1.display = display.visible;
         field2.display = display.hidden;
         field3.display = display.hidden;
    } else if (event.value=="Value2") { // Show field1 and field2, hide the rest
         field1.display = display.visible;
         field2.display = display.visible;
         field3.display = display.hidden;
    } else if (event.value=="Value3") { // Show all fields
         field1.display = display.visible;
         field2.display = display.visible;
         field3.display = display.visible;
    } else { // hide all fields
         field1.display = display.hidden;
         field2.display = display.hidden;
         field3.display = display.hidden;
    PS. Make sure you tick the option to commit the selected value of the drop-down field immediately (under the field's Properties - Options).

  • Filtering in excel - not all options display in drop down list

    I have found an issue with the filter drop-down list in Excel 2010. I have now been upgraded (by my employee) to Excel 2013 and same problem still exists.
    Problem: I highlight the row containing the column headings; then click on filter (available via the Home tab); then click on the down arrow in the column of interest (in this case "Council Names" column); the drop-down window appears but not all
    council names are displayed in the selection list, even though those council names are still in the list. I am aware of the 10,000 option limit with the selection list, but my spread sheet has well under 10,000 rows (unless there is something hidden that I
    do not know about).
    I have found work-arounds for the problem by searching google for answers to similar problems. I have also spoken to my employee's IT HelpDesk. I will explain the work-arounds I have found below. However, my main concerns now are:
    (1) What is the cause of the problem? Is there are better fix that addresses the cause, rather than having to use work-arounds?
    (2) Is the issue an indication that the spread sheet has been corrupted in some way? - I need assurance that this is not an indication that the spread sheet is unstable and such problems could multiply or already be existing. (The reason I ask
    this is that I had an earlier version of the same spread sheet where the problem did not occur, but it appeared in a later copy - could the copying of the sheet/workbook have caused the problem?)
    Workarounds found:
    (1) Select the entire sheet, then select the filter button in Home tab
    (2) select all the columns manually (click in top left cell and drag down until all data selected), then select filter button
    (3) Ensure all rows in the column of interest are filled in, then select filter button
    I would really appreciate any answers/assistance.

    Hi Jan,
    Thank you very much! Yes you are right - I have looked at the Current Region and the Council Names within that region match those in the filter list. The Current Region does not contain the entire sheet.
    [By the way - there were some errors in my original post: employee should be employer and in my description of the problem the following should read
    "...even though those council names are still in the spread sheet". I assume that this would not change your response?]
    Further questions
    (1) It is odd, though, that an earlier version of the same spread sheet had a complete list of council names (the current range on this sheet contains all of the required rows of the sheet). How did the current region change between versions (I did not knowingly
    do it)?
    (2) Does the above mean that the file, workbook or spread sheet is damaged/corrupted in some way? If yes, can this be corrected and how?
    (3) In addition to (2) above - what is the safest way to copy an excel workbook to minimise risk/avoid future corruption? [I have been copying and keeping earlier versions, partly for testing reasons, but also as a safety measure for the project as
    we are making changes all the time and may decide we wish to go back to the previous version(s)].
    Regards and thanks again,
    Bea Rogers.

  • Can we display only the required dimensions under Dimensions Drop Down list

    Hi,
    I am using Hyperion Financial Data Quality Management, Fusion Edition 11.1.1.3.00, so far under Activities -> Maps option we used to display all the dimensions used in the application, but now as per the client's requirement we need to display only those dimensions which needs mapping under dimensions drop down list.
    Eg)
    Now in our Application our Dimension Drop Down list will look show these dimensions
    Account
    Entity
    Legal Entity
    Inter company
    Reverse 1
    Reverse 2
    Among these we are doing mapping only for Account, Entity dimensions so we need to hide rest of the dimensions from the Dimensions Drop Down list for which we are not using any mappings (Legal Entity, Inter company,Reverse 1,Reverse 2)
    Another thing is these dimensions should be hidden only from the drop down list and not from the Output file generated after the Export.
    Some suggestions regarding this issue will be greatly helpful.
    Thanks,
    Abdulla Javeed Hassan

    Hi
    If hiding the other dimensions is to prevent users from accessing and changing the mappings then you could do this by amending the object security so that only certain user roles can access the Activities > Maps option.
    This will only really work if you have limited users / central team that will control the maps but it is the most obvious way to stop users accessing the maps.
    Hope this helps
    Stuart

Maybe you are looking for