Conditional drop downs for forms

I need some help!
I have three drop down boxes. (for the sake of the forum I'll call them 1, 1a, and 1b)
I want to make a selection in 1 and given that selection I want either the 1a or the 1b drop down box to appear.
Here is what I have so far. I'm just not sure were to put the code in at. I've tried placing it in the Change and that doesn't work correctly.  
shellvalue.B.OuterShell::change - (FormCalc, client)
if (OuterShell == 1) then
NomexColor.presence = "visible";
PBIColor.presence = "invisible";
elseif (OuterShell == 2) then
NomexColor.presence = "invisible";
PBIColor.presence = "visible";
else
NomexColor.presence = "invisible";
PBIColor.presence = "invisible";
endif

For forms created with LiveCycle Designer use the forum for LiveCycle Designer.

Similar Messages

  • How to create conditional drop-down lists

    I would like to create a form that utilizes conditional drop-down selection boxes like at http://blogs.office.com/b/microsoft-excel/archive/2009/11/24/create-conditional-drop-down- lists.aspx
    How can I create a form that contains fields like this?
    Is there a sample I can download?

    I have downloaded the AcroForm version (ListProgramming_Part1_AcroForm.pdf).
    I'm not able to consistently recreate.  I was first playing with the form by selecting values in the drop down.  At one point I went to Document Javascripts and select "Example1".  I chose to edit.  Make no changes and select "OK" I get "SyntaxError: missing } in compound statement 39 at line 40"
    The sec ion of code is:
    function SetPartEntries()
       // Only run this code on when the selection is commited.  
       if(event.willCommit)
          // There are 3 rows in the order form so in order to use other fields in 
          // the same row we first have to acquire the name of the row
          // we are operating on.  This is part of the List field's name, so we 
          // just have to split it off 
          var cRowName = event.target.name.split(".").shift();
          // Now get the new parts list from the Master List
          // Since the selection is being committed, event.value contains the selection text
          var lst = oAssemblyParts[event.value];
          // If an entry is selected that we don't have a parts list for, then
          // the parts list is just cleared. 
          if( (lst != null) && (lst.length > 0) )
             this.getField(cRowName + ".PartSelect").setItems(lst);
          else
             this.getField(cRowName + ".PartSelect").clearItems();
          // We have a new parts lists and the first entry is 
          // is a non-selection.  so clear the price field.
          this.getField(cRowName + ".Price").value = 0;
    I am not able to recreate if I select "Edit all Javascripts" only when I use document javascripts.

  • Rule Policies:  Value drop down for category blank

    Hello,
    We have implemented Rule Policies in CRM 7.0.  When entering a condition for attribute "ICWC_Category" the drop down for "Value" is blank.  We have checked the following:  Categorization schemas are active and user has access to display categorization schemas.  When checking in all other systems, this is working with no issue, but in the productioin system, the value drop down is blank.
    If you have any ideas to trouble shoot or recreate the issue, it would be appreciated.
    Regards,
    E. Simpson

    Hi Anil,
    There is a SAP note availble for this problem.Please check.
    Thanks,
    Ashish

  • Conditional drop down list

    Is it possible to create a conditional drop down list using Adobe XI for MAC?  I know I've done this in the past with LifeCycle, but there still appears to be no LifeCycle application for MAC.
    My apologies in advance in the event this post is in duplication...everything I searched in the forum didn't provide me resolution.

    Thank You!  This is exactly what I’m looking for…could you share the ‘how’ behind the if/then statements…I’m using Acrobat XI for MAC and can’t figure out the step by step for completing this task.  I’ve used LifeCycle in the past, but recently transitioned to MAC hardware from WIN and there appears to be no LifeCycle application for MAC.
    Best,
    -emb

  • Abt Drop Down For ALV Data cells

    Hi,
    I m unable to create drop down for each cell of ALV table.
    Reply me as soon as possible.
    Thks.

    You need to create an object of type CL_SALV_WD_UIE_DROPDOWN_BY_KEY, which is the UI element for dropdown by key, and set that to be your individual cell editor.
    For whichever column you want a dropdown box, use the method set_cell_editor to make the editor as a dropdown box. Hope this helps.
    Regards
    Nithya

  • Need a drop down for a selection screen

    HI all,
    I need a drop down for a selection screen.
    say for eg: Field is MARA-MTART   (Material Type). The selection is optional and the dropdown should be using check table: T134
    How to get a dropdown? I think a function module is used , but I dont remember the name.
    Kindly reply.
    Thanks in advance.
    Points will be rewarded

    Hi,
    chk the below code...
    TYPE-POOLS: vrm.
    PARAMETER: pr_spart TYPE spart AS LISTBOX VISIBLE LENGTH 7.
    *AT SELECTION-SCREEN ON VALUE-REQUEST FOR pr_spart.
    INITIALIZATION.
    *----Code for Drop down list....
      DATA: lit_spart_list  TYPE vrm_values, "Table for list of Divisions
              lwa_spart_list TYPE vrm_value,
              lw_name  TYPE vrm_id.            "Name of parameter with list-box.
    *---Assign selected values to table that would be passed to FM VRM_SET_VALUES
      CLEAR : lwa_spart_list,
              lw_name.
    *---Pass required values for list-box display.
      lwa_spart_list-key = 'H'.
      lwa_spart_list-text = 'HL'.
      APPEND lwa_spart_list TO lit_spart_list.
      lwa_spart_list-key = 'S'.
      lwa_spart_list-text = 'SL'.
      APPEND lwa_spart_list TO lit_spart_list.
      lwa_spart_list-key = 'P'.
      lwa_spart_list-text = 'PP'.
      APPEND lwa_spart_list TO lit_spart_list.
      lwa_spart_list-key = 'F'.
      lwa_spart_list-text = 'FR'.
      APPEND lwa_spart_list TO lit_spart_list.
    *Name of parameter to which list is to be assigned
      lw_name = 'PR_SPART'.
      CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING
          id              = lw_name
          values          = lit_spart_list
        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.
    Reagrds,
    nagaraj

  • In logic X I am trying to normalize but the track and file option in the edit window is not there at all just the drop down for pointer eraser etc. Any ideas? Thanks!..

    In logic X I am trying to normalize but the track and file option in the edit window is not there at all just the drop down for pointer eraser etc. Any ideas? Thanks!..

    Total life saver. Thank you

  • Drop down for a field in a table

    hi friends,
       need a help from u, how to maintain the drop down for a field in a table..
    advance thanks..

    Hi,
    You can use the function module F4IF_INT_TABLE_VALUE_REQUEST
    TABLES: T005T.
    DATA: BEGIN OF t_t005 OCCURS 0,
            land1 TYPE t005-land1,
          END OF t_t005.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(6) v_text FOR FIELD P_LAND1.
    PARAMETERS: p_land1  TYPE t005-land1.
    SELECTION-SCREEN COMMENT 13(35) v_text1.
    SELECTION-SCREEN END OF LINE.
    INITIALIZATION.
      v_text = 'Country'.
      v_text1 = ' '.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_land1.
      REFRESH: t_t005.
      SELECT land1
             INTO TABLE t_t005
             FROM t005.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
           EXPORTING
    *            DDIC_STRUCTURE   = 'T005'
                PVALKEY          = ' '
                retfield         = 'LAND1'
                dynpprog         = sy-repid
                DYNPNR           = sy-dynnr
                dynprofield      = 'P_LAND1'
                callback_program = sy-repid
                value_org        = 'S'
           TABLES
                value_tab        = t_t005
           EXCEPTIONS
                parameter_error  = 1
                no_values_found  = 2
                OTHERS           = 3.
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    Thanks
    Naren

  • Not able to set values in drop down for a table field

    Hi All,
    I am not able to set values in drop down for a table field. Although I am able to set these values to a stand alone field but its not happening for a particular table field. I am using ABAP web dynpro for coding.
    Pls help.
    Regards,
    Bhaskar

    Hi Otto,
    Here is the code I am using:
    * navigate from <CONTEXT> to <DATASOURCE> via lead selection
      lo_nd_datasource = wd_context->get_child_node( name = wd_this->wdctx_datasource ).
    * navigate from <DATASOURCE> to <CHANGING_PARAM> via lead selection
      lo_nd_changing_param = lo_nd_datasource->get_child_node( name = wd_this->wdctx_changing_param ).
    * navigate from <CHANGING_PARAM> to <EDUCATION_TAB> via lead selection
      lo_nd_education_tab = lo_nd_changing_param->get_child_node( name = wd_this->wdctx_education_tab ).
      node_info = lo_nd_education_tab->get_node_info( ).
      REFRESH ddlb_value_set.
      DATA: wa_edu_est TYPE t517t.
      SELECT * FROM t517t INTO wa_edu_est WHERE sprsL = 'EN'.
        s_element-text = wa_edu_est-stext.
        s_element-value = wa_edu_est-slart.
        APPEND s_element TO ddlb_value_set.
      ENDSELECT.
      SORT ddlb_value_set BY text.
    *    Set Value_sets to node_info
      node_info->set_attribute_value_set(
         name      = 'EDU_EST'
         value_set = ddlb_value_set ).
    Regards,
    Bhaskar

  • When trying to download an APP, it's requesting answers to 3 security questions and it hangs up the iPad when clicking the drop down for the questions...any ideas?

    When trying to download an APP, it's requesting setup for answers to 3 security questions and it hangs up the iPad when clicking the drop down for the questions...any ideas?

    Had to do a hard reboot on the iPad and we were able to get the questions to pop up. Now it's just slow downloading the apps.

  • SQL 2000 Database Maintenance Plan drop downs for days, weeks, months, not displaying

    When setting up a SQL 2000 Database Maintenance Plan the drop down for Remove files older than is not populating with hours, days, weeks, or months. It is just blank. The version is  Microsoft SQL Server  2000 - 8.00.2039 (Intel X86)  
    May  3 2005 23:18:38   Copyright (c) 1988-2003 Microsoft Corporation  Desktop Engine on Windows NT 5.2 (Build 3790: Service Pack 2). Is there a fix for this issue?

    This also works. All the credit goes to a user named eyechart.  Great directions provided as well.
    http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=47575
    sqlmaint.exe
    was missing from MSDE 2000, but that was fixed in SP1 I think. Since this is SP3
    you probably have a missing registry value for the backup directory.
    I
    had to fix a similar problem last year on a bunch of laptops. They were all
    missing a registry value. Anyway, here is the fix:
    1. Fire up regedit and
    look under HKLM\SOFTWARE\Microsoft\MSSQLServer\MSSQLServer
    2. Ensure you have
    a string value called BackupDirectory. The value for this should be the path to
    your backup dir. The default value is C:\Program Files\Microsoft SQL
    Server\MSSQL\BACKUP
    btw, this fix assumes you have a default instance
    installed. A named instance will have slightly different registry location and
    filesystem path.
    -ec
    Edited by -
    eyechart on 03/25/2005 21:04:27

  • How can I enable the automated drop down for the subject line on the email page

    How can I enable the automated drop down for the subject line on the email page as I send more than 300 emails everyday with the same subject line. Before it use to happen in my gmail account but now its not. Please help me as its increasing my work time because I have to type the subject line again and again on each email I send. Please help me guys.

    This is usually caused by one or more bookmarks having a long title.
    You can check that folder in the Library and shorten long names.
    * Bookmarks > Show Al Bookmarks
    *Bug 626066 - History, Bookmarks menus too wide because of pages with long titles on 64bits
    <i>Please do not comment in bug reports: https://bugzilla.mozilla.org/page.cgi?id=etiquette.html</i>

  • All drop downs on forms or in history do not work -

    since update - all drop downs do not work - on navigation bar - internet forms that have questions that require an election from a drop down field - and the auto type feature. The boxes act like they want to open but are closed as soon as they appear. This is a major problem as most applications have drop down boxes for questions or security questions.
    I thought it was pop-up blocker but it wasn't- no info found in Troubleshooting.

    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See [[Troubleshooting extensions and themes]]
    See also http://kb.mozillazine.org/Error_loading_websites
    There are other things that need attention:
    Your above posted system details show outdated plugin(s) with known security and stability risks that you should update.
    * Shockwave Flash 10.0 r45
    * Java Plug-in 1.6.0_03 for Netscape Navigator (DLL Helper)
    Update the [[Managing the Flash plugin|Flash]] plugin to the latest version.
    *http://www.adobe.com/software/flash/about/
    Update the [[Java]] plugin to the latest version.
    *http://www.oracle.com/technetwork/java/javase/downloads/index.html (Java Platform: Download JRE)

  • Lock drop down for end users

    I want to create a from that contains drop down menus so I can pick values to save time not having to type in the information. I have figured this out!  The problem is I want to be able to distribute this form to teachers but not allow than to change the values I have picked from the drop menu.  I also want the form to have text fields where they can enter the name of student, date etc., so they would have to be able to edit those fields.  Is this even possible?  I am probably missing something obvious.  Any help would be appreciated!

    Thanks for the info Bob.  I tried that but Acrobat seems to treat drop downs like filling in form fields so the end user can still use the drop down menu.

  • Drop-down lists Form Calc

    Hi,
    I am new to Livecycle and am currently updating administration forms to make them interactive. I am having trouble with FormCalc for the expenses form. There are columns for kilometres, rate (drop-down list) and total. Basically I want 'kilometres' x 'rate' to equal 'total'. I can total the kilometres x rate easily if they are both numerical boxes, but once the rate column becomes a drop-down list with three different value options, it will not calculate for me. Do I have to change the formula for drop-down lists?
    Thank you!
    Kate

    The issue is the $ sign in the dropdown. By adding the $ sign you are making this a string and not a number. To fix this you can do it in one of two ways. You can remove the dollar sign or you can leave the dolloar sign in plcae and take advantage of how Dropdowns work. You can have a specific value shown (this is the Displayed Value) but then have a completely different value used when asked for the DDList value (this is the data value). So I modified the DDLists to have a different data value (without the $) then modified the command to use the data value for the calculation. I changed the calculation to run on the Calculate event of the Total field. The calculate event will fire when the form loads as well as any time a referenced field in the calculate changes. So when you select a rate the total field will fire automagically!
    Oh by the way the data values are set on the binding tab of the DropDown field.
    I have attached a modified version of the form you sent.
    Paul

Maybe you are looking for

  • How do I delete the itunes library fully?

    How do i delete the itunes library fully.  I want to delete the itunes library and rebuild it. All my media is on a NAS and no matter what settings i use, Itunes wants to create a sub directroy in the main one i specifiy for media.  this sub director

  • How can I get my pictures back?

    I backed my I phone 3 up on home computer. I went and got my I phone 4. Soon as I got home I connected to home computer to put all pictures and data on my new phone but it put all my brothers data instead. I cannot find any of my pictures, contacts,

  • How do you connect a microphone to a Mac?

    How do you connect a microphone to the Mac?  I'm trying to record vocals onto Garage Band.  I tried to use an adapter (XLR to MONO 3.5 mm) to connect directly to the port on the side of the MacBook Pro.

  • Table to Know MIRO for mat. doc.(MIGO) incase of GR based IV not checked PO

    Hi, I need your help to know the logic for developing one report in the below situation. there is a Imported PO. GR Based IV is not checked. initially customs MIRO has done it, later inbound delivery taken, then MIGO 103 movement done, while doing 10

  • Export Release Build

    When I export release build in FB 3, if I leave "Enable view source" unchecked, I get the error message: quote: Flex Builder could not publish the project source: the application file "Main.mxml" was not found. I click OK, and the project exports jus