Pulldown list invisible if options aren't selected?

I have a form I send out to clients where I pulldown menu is used for multiple rows. The first option in the list is "Select Item", followed by the rest of the selections. Is there a way that the field won't be visible in print when the option is left on "Select Item"? I still need the information if an option is checked.

You can use this code (adjust the form field name in the first row to match the one in your file):
var f = this.getField("Dropdown1");
if (f.value==f.defaultValue) f.display = display.noPrint;
else f.display = display.visible;
You need to insert it under Tools - JavaScript - Document Actions - Document Will Print.

Similar Messages

  • Form Pulldown List with Images?

    I thought I had seen this done online before, but can't seem to find any information on how to do it...I want to make a form with a pulldown list for color options. I want there to be text (color names) plus a small image showing a color sample. Is this possible to do, or am I dreaming? Thanks in advance!

    Sorry to say, background images in forms elements do not work well across all browsers.
    http://lab.artlung.com/form-image-background/
    But you can safely use background-colors in forms.
    CSS styled Forms -  Dropdown lists.
    http://www.outfront.net/tutorials_02/adv_tech/funkyforms5.htm
    Perhaps what you saw was built with Flash.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • Multiple Selection not working on List Box Properties/Option Screen

    When I select multiple selection on the List Box Properties/Options tab, I get no difference from the single selection default. It still highlights only the last of the multiple entries (like a single selection) and displays only the last entry. Is there something else I need to do?
    Thanks for your help.

    To select multiple items, you need to hold down the Ctrl key when clicking additional items.

  • Select list in radiogroup options

    Is there any way to achieve the following layout
    o Radiogroup Option 1 [Select List] o Radiogroup Option 2Yes, I can easily do
    o Radiogroup Option 1 [Select List]
    o Radiogroup Option 2which is close enough, but just wondering if the other one was possible.
    Thanks

    The best I could come up with was to use the second layout I mention and then add some Javascript on the page to do something like
    <style type="text/css">
    label.l {position:absolute;top:100px;left:210px;}
    input.i {position:absolute;top:100px;left:200px;}
    </style>
    <script type="text/javascript">
    var f=$x('P1_RADIO');
    var l=f.getElementsByTagName('label')[1];
    var i=f.getElementsByTagName('input')[1];
    l.className += "l";
    i.className += "i";
    </script>Basically, it takes that "Radiogroup Option 2" and the form input field and uses absolute CSS positioning to place it to the right of the Select list.
    Works great in FF (as usual), but the usual IE inconsistencies with CSS box model rear their ugly head. Looks terrible in IE, totally mis-aligned.
    Any other ideas?
    Thanks

  • How to create a pulldown list in numbers

    how to create a pulldown list in numbers

    Here is it:
    Open Applescript editor
    Copy the entire script and paste it into Applescript Editor
    Compile it
    Read the instructions at the top of the script
    Run the script, following the instructions.
    You can save the script and it will be available in the Scripts menu (on the right side of the menu bar where Time Machine , Airport, and all those icons are).
    Copy and paste all of what is below:
    -- Script to populate a Numbers pop-up list.
    -- Instructions:
    --                    GUI scripting must be on in System Preferences
    --                    Create a list of items. Must be a contiguous range of cells in a table.
    --                    Select the range of cells to use as items in the popup.
    --                    Run the script. 
    --                    A dialog box will appear asking you to select which cells you want to turn into pop-ups
    --                    Select the cells then click OK on the dialog box
    set tValues to my doThis(1) -- get values of the selection
    if tValues is not "" then
      activate
              display dialog "Select the cells where you want to create the PopUp." & return & "After that, click on the 'OK' button."
              my doThis(tValues) -- set the cell format of the new selection to "PopUp Menu" and set the values of the each menu item
              tell application "Numbers" to display dialog "Done"
    else
              tell application "Numbers" to display dialog "You must select the cells in a table before running this script."
    end if
    on doThis(n)
              tell application "Numbers"
                        set tTables to (tables of sheets of front document whose its selection range is not missing value)
                        repeat with t in tTables -- t is a list of tables of a sheet
                                  if contents of t is not {} then -- this list is not empty, it's the selected sheet
                                            set activeTable to (get item 1 of t)
                                            if n = 1 then return value of cells of selection range of activeTable -- return values of the selection
                                            set format of (cells of selection range of activeTable) to pop up menu -- set the format to pop up menu
                                            return my setValuePopUp(n) -- set value of each menu item
                                  end if
                        end repeat
              end tell
              return ""
    end doThis
    on setValuePopUp(L)
              tell application "System Events"
                        tell process "Numbers"
                                  set frontmost to true
                                  delay 0.3
                                  set inspectorWindow to missing value
                                  set tWindows to windows whose subrole is "AXFloatingWindow"
                                  repeat with i in tWindows
                                            if exists radio group 1 of i then
                                                      set inspectorWindow to i
                                                      exit repeat
                                            end if
                                  end repeat
                                  if inspectorWindow is missing value then
      keystroke "i" using {option down, command down} -- Show Inspector
                                  else
      perform action "AXRaise" of inspectorWindow -- raise the Inspector window to the front
                                  end if
                                  delay 0.3
                                  tell window 1
      click radio button 4 of radio group 1 -- the "cell format" tab
                                            delay 0.3
                                            tell group 2 of group 1
                                                      set tTable to table 1 of scroll area 1
                                                      set tc to count rows of tTable
                                                      set lenL to (count L)
                                                      if tc < lenL then -- ** add menu items **
                                                                repeat until (count rows of tTable) = lenL
      click button 1 -- button [+]
                                                                end repeat
      keystroke return -- validate the default name of the last menu item
                                                      else if tc > lenL then -- ** remove menu items **
                                                                repeat while exists row (lenL + 1) of tTable
                                                                          select row (lenL + 1) of tTable
      click button 2 --  button [-]
                                                                end repeat
                                                      end if
                                                      tell tTable to repeat with i from 1 to lenL -- ** change value of each menu item **
                                                                set value of text field 1 of row i to item i of L
                                                      end repeat
                                            end tell
                                  end tell
                        end tell
              end tell
    end setValuePopUp

  • How to avoid ranges option in the select option.

    Hi All,
        In the selection screen, when the user press the extension button usaually we are getting four columns. those columns are 2 sinlge vals, 2 ranges. but as per my requirement, user wants to display only one single val column in that dialog window.
    please help me in this regard.
    -Pesi.

    use SELECT_OPTINS_RESTRICT  FM
    chk the sample code
    REPORT TESTREP.
    * Include type pool SSCR
    TYPE-POOLS SSCR.
    * Define the object to be passed to the RESTRICTION parameter
    DATA RESTRICT TYPE SSCR_RESTRICT.
    * Auxiliary objects for filling RESTRICT
    DATA OPT_LIST TYPE SSCR_OPT_LIST.
    DATA ***      TYPE SSCR_***.
    * Define the selection screen objects
    * First block: 3 SELECT-OPTIONS
    SELECTION-SCREEN BEGIN OF BLOCK BLOCK_0 WITH FRAME TITLE TEXT-BL0.
      SELECT-OPTIONS SEL_0_0 FOR SY-TVAR0.
      SELECT-OPTIONS SEL_0_1 FOR SY-TVAR1.
      SELECT-OPTIONS SEL_0_2 FOR SY-TVAR2.
      SELECT-OPTIONS SEL_0_3 FOR SY-TVAR3.
    SELECTION-SCREEN END   OF BLOCK BLOCK_0.
    * Second block: 2 SELECT-OPTIONS
    SELECTION-SCREEN BEGIN OF BLOCK BLOCK_1 WITH FRAME TITLE TEXT-BL1.
      SELECT-OPTIONS SEL_1_0 FOR SY-SUBRC.
      SELECT-OPTIONS SEL_1_1 FOR SY-REPID.
    SELECTION-SCREEN END   OF BLOCK BLOCK_1.
    INITIALIZATION.
    * Define the option list
    * ALL: All options allowed
      MOVE 'ALL'        TO OPT_LIST-NAME.
      MOVE 'X' TO: OPT_LIST-OPTIONS-BT,
                   OPT_LIST-OPTIONS-CP,
                   OPT_LIST-OPTIONS-EQ,
                   OPT_LIST-OPTIONS-GE,
                   OPT_LIST-OPTIONS-GT,
                   OPT_LIST-OPTIONS-LE,
                   OPT_LIST-OPTIONS-LT,
                   OPT_LIST-OPTIONS-NB,
                   OPT_LIST-OPTIONS-NE,
                   OPT_LIST-OPTIONS-NP.
      APPEND OPT_LIST TO RESTRICT-OPT_LIST_TAB.
    * NOPATTERN: CP and NP not allowed
      CLEAR OPT_LIST.
      MOVE 'NOPATTERN'  TO OPT_LIST-NAME.
      MOVE 'X' TO: OPT_LIST-OPTIONS-BT,
                   OPT_LIST-OPTIONS-EQ,
                   OPT_LIST-OPTIONS-GE,
                   OPT_LIST-OPTIONS-GT,
                   OPT_LIST-OPTIONS-LE,
                   OPT_LIST-OPTIONS-LT,
                   OPT_LIST-OPTIONS-NB,
                   OPT_LIST-OPTIONS-NE.
      APPEND OPT_LIST TO RESTRICT-OPT_LIST_TAB.
    * NOINTERVLS: BT and NB not allowed
      CLEAR OPT_LIST.
      MOVE 'NOINTERVLS' TO OPT_LIST-NAME.
      MOVE 'X' TO: OPT_LIST-OPTIONS-CP,
                   OPT_LIST-OPTIONS-EQ,
                   OPT_LIST-OPTIONS-GE,
                   OPT_LIST-OPTIONS-GT,
                   OPT_LIST-OPTIONS-LE,
                   OPT_LIST-OPTIONS-LT,
                   OPT_LIST-OPTIONS-NE,
                   OPT_LIST-OPTIONS-NP.
      APPEND OPT_LIST TO RESTRICT-OPT_LIST_TAB.
    * EQ_AND_CP: only EQ and CP allowed
      CLEAR OPT_LIST.
      MOVE 'EQ_AND_CP'  TO OPT_LIST-NAME.
      MOVE 'X' TO: OPT_LIST-OPTIONS-CP,
                   OPT_LIST-OPTIONS-EQ.
      APPEND OPT_LIST TO RESTRICT-OPT_LIST_TAB.
    * JUST_EQ: Only EQ allowed
      CLEAR OPT_LIST.
      MOVE 'JUST_EQ' TO OPT_LIST-NAME.
      MOVE 'X' TO OPT_LIST-OPTIONS-EQ.
      APPEND OPT_LIST TO RESTRICT-OPT_LIST_TAB.
    * Assign selection screen objects to option list and sign
    * KIND = 'A': applies to all SELECT-OPTIONS
      MOVE: 'A'          TO ***-KIND,
            '*'          TO ***-SG_MAIN,
            'NOPATTERN'  TO ***-OP_MAIN,
            'NOINTERVLS' TO ***-OP_ADDY.
      APPEND *** TO RESTRICT-***_TAB.
    * KIND = 'B': applies to all SELECT-OPTIONS in block BLOCK_0,
    *             that is, SEL_0_0, SEL_0_1, SEL_0_2
      CLEAR ***.
      MOVE: 'B'          TO ***-KIND,
            'BLOCK_0'    TO ***-NAME,
            'I'          TO ***-SG_MAIN,
            '*'          TO ***-SG_ADDY,
            'NOINTERVLS' TO ***-OP_MAIN.
      APPEND *** TO RESTRICT-***_TAB.
    * KIND = 'S': applies to SELECT-OPTION SEL-0-2
      CLEAR ***.
      MOVE: 'S'          TO ***-KIND,
            'SEL_0_2'    TO ***-NAME,
            'I'          TO ***-SG_MAIN,
            '*'          TO ***-SG_ADDY,
            'EQ_AND_CP'  TO ***-OP_MAIN,
            'ALL'        TO ***-OP_ADDY.
      APPEND *** TO RESTRICT-***_TAB.
    * KIND = 'S': Applies to SELECT-OPTION SEL_0_3
      CLEAR ***.
      MOVE: 'S'        TO ***-KIND,
            'SEL_0_3'  TO ***-NAME,
            'I'        TO ***-SG_MAIN,
            'N'        TO ***-SG_ADDY,
            'JUST_EQ'  TO ***-OP_MAIN.
      APPEND *** TO RESTRICT-***_TAB.
    * Call function module
      CALL FUNCTION 'SELECT_OPTIONS_RESTRICT'
           EXPORTING
                 RESTRICTION                = RESTRICT
    *           DB                          = ' '
           EXCEPTIONS
                 TOO_LATE                   = 1
                 REPEATED                   = 2
                 NOT_DURING_SUBMIT          = 3
                DB_CALL_AFTER_REPORT_CALL  = 4
                SELOPT_WITHOUT_OPTIONS     = 5
                 SELOPT_WITHOUT_SIGNS       = 6
                 INVALID_SIGN               = 7
                REPORT_CALL_AFTER_DB_ERROR = 8
                  EMPTY_OPTION_LIST          = 9
                 INVALID_KIND               = 10
                 REPEATED_KIND_A            = 11
                 OTHERS                     = 12.
    * Exception handling
      IF SY-SUBRC NE 0.
      ENDIF.

  • Say in selection screeen (ie is in select-options) i have selected record r

    say in selection screeen (ie is in select-options) i have selected record range from 1000 to 2000 but in the final display list i sholud not get 1200 to 1300 records it should be hide how is it posible
    Thanks
    Basu

    Hello Math,
    There are two ways of restricting the records with 1200 & 1300 values in output list display -
    1. Either restrict the records while selecting the data from database using SELECT query. This can be achieved by ranges table populated with the values, which won't select the 1200 & 1300 records.
    Find the following code for this -
    TABLES: TAB1.
    RANGES: R_FLD1 FOR TAB1-FLD1.
    R_FLD1-SIGN = 'I' .
    R_FLD1-OPTION = 'EQ'.
    R_FLD1-LOW = '1000'.
    R_FLD1-HIGH = '2000'.
    APPEND R_FLD1.
    R_FLD1-SIGN = 'I' .
    R_FLD1-OPTION = 'NE'.
    R_FLD1-LOW = '1200'.
    R_FLD1-HIGH = '1300'
    APPEND R_FLD1.
    SELECT * FROM TAB1
        INTO IT_TAB1
        WHERE FLD1 IN R_FLD1.
    2. Select the data first in internal table first and then delete the entries having 1200 & 1300 values.
    Find the following code for this -
    TABLES: TAB1.
    RANGES: R_FLD1 FOR TAB1-FLD1.
    SELECT * FROM TAB1
        INTO IT_TAB1
        WHERE FLD1 IN R_FLD1.
    IF SY-SUBRC EQ 0.
      SORT IT_TAB1 BY FLD1.
      DELETE IT_TAB1 WHERE ( FLD1 = '1200' ) OR  ( FLD1 = '1300' ).
    ENDIF.
    Hope this helps you.
    PS If the answer solves your query, plz close the thread by rewarding each reply and marking it Solved.
    Regards

  • Preselect an option in html:select

    Hey,
    I am implementing struts in my application. How do i preselect an option in <html:select> tag
    here is what i am doing but the option does not get preselected.. the collection below returns A, B , C etc..
    <html:select property="accountClass" name="criteriaForm" value ="B" styleClass="selectBoxStyle">
    <logic:iterate id="myCollectionElement" collection="<%= Util.getAllClasses() %>">
    <html:option value ="<bean:write name="myCollectionElement" />">
    <bean:write name="myCollectionElement" /></html:option>
    </logic:iterate>     
    </html:select>
    everything seem to work fine except value "B" in the list box is not preselected.. how do i achieve this??
    Thanks
    KM

    Try using the <html:options> tag.
    <html:select property="accountClass" value="B">
        <html:options collection="<%= Util.getAllClasses() %>"
                      property="someValue"
                      labelProperty="someDescription" />
    </html:select>

  • HT201272 Followed the directions on this page. Books are not listed among the options at step five, only movies tv shows and music, so how do I download my books then? I previously purchased two audiobooks on iTunes.  They are available on my iPad, but no

    Followed the directions on this page. Books are not listed among the options at step five, only movies tv shows and music, so how do I download my books then? I previously purchased two audiobooks on iTunes.  They are available on my iPad, but not here.

    If you go into Edit > Preferences then on the General tab on the popup that you get you should be able to select which types of content 'show' - tick the box against 'Books' :
    Books then show under your 'Library' - if you select it, are those audiobooks listed there ?

  • Find option for  Catalog Selection

    Hi All
    In transaction code QS42, there is no FIND option for Catalog Selection list. Please advice whether it is possible to provide find option for catalog selection.
    thanks
    Ravindra Suvarna

    Hello Ravindra,
    In the transaction QS42, there is F4 help for Catalog.
    You can give serach parameters there and get the required catalog.
    Other than this if you want to change the selction parameters of the transaction QS42, then following are the steps -
    1. Tcode - QS42
    2. Menu Catalogs -> Selected Sets -> Display
    3. Selection screen will change accordingly. You can revert back to original screen similar way by the menu Selected Sets.
    If the above doesn't solve your query, plz elobarate your query.
    PS: If the answer solves your query, plz reward points.
    Regards

  • I have a new macbook pro and just made a video on imovie and it asked me to put it on idvd but there is no idvd listed as an option. How can I get idvd?

    I have a new macbook pro and just made a video on imovie and it asked me to put it on idvd but there is no idvd listed as an option. How can i get idvd. it doesn't seem available

    Since Apple has stopped supporting and offering iDVD you'll need to purchase the iLIfe 11 disk from a 3rd party retailer like Amazon.com: iLife 11 which will include iDVD 7. 
    OT

  • List- Export- Spreadsheet option disabled in ALV Report

    Hi,
    In one of the ALV Report the option List->Export->Spreadsheet option is disabled. How to enable that option?
    I am calling the REUSE_ALV_GRID_DISPLAY Function module with the following parameters
        CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
          EXPORTING
            i_callback_program = w_repid
            it_fieldcat        = i_fieldtab[]
            is_layout          = ls_layout
            it_events          = i_events[]
            i_save             = 'A'
            is_variant         = i_variant
          TABLES
            t_outtab           = it_display
          EXCEPTIONS
            program_error      = 1
            OTHERS             = 2.
    This is the problem with only this report. So I believe it is not due to authorization.
    Regards,
    Anusha

    Hi Anusha,
    This link should help you. You just need to change the deep structure.
    [Export Option is Grayed out in ALV Grid Display;
    You already figured it out
    Edited by: sap_wiz on Jul 6, 2011 4:42 PM

  • I saved My itunes library to an ehd and now my playlists are gone.  When I tried option hold and selected it from ehd and added it to my library it copies it but as soon as I eject the hard drive it says choose or create new library when I launch iTunes

    I saved my itunes library to an external hard drive and my playlists disappeared.  I tried holding down the option button and selecting choose library and selecting the library from the hard drive.  When I do this it opens up and everything comes back. When I add the library to my itunes I can see it copying the music but as sson as I unplug the hard drive I have no itunes at all.  It says the folder containing the itunes library cannot be found and is required.
    Please Help!

    You need to make sure it is connected and mounted before launching iTunes.

  • Mix of Parameters & Select Options in a Selection screen in WD4A

    Hi All.
    I just created my first selection screen in WD4A couple of days back.
    Now, we have to mix up some parameters and select-options just like in normal ABAP.
    But I could only find a way to insert a "Range" into the WD4A screens via "Create_Range_table".
    Supposing I have 2 select-options, then 2 parameters - i.e. no Pattern or range or intervals options (simple = option); then again 2 select-options.
    Can't we make a simple Parameter option in WD4A selection screen? I know we can make no_extension and no_intervals as true so that it does look like a parameter. But still user can enter a pattern search in it like a select-option.
    Hope my query is clear.
    Another question is : As far as I understood, we ALWAYS need a IT_RESULT table in the method ADD_SELECTION_FIELD. Then why is it not mandatory in the method? 
    Thanks in adv.

    Hi Aishi,
    In an early version of SelectOptions, the parameter it_result was mandatory. Some time later, a developer contacted me and showed me an example where it was benefitial to first create the field and to pass in the range table at a later point in his algorithm. This can be done by calling set_range_table_of_sel_field( ). Hence, the parameter has become optional. Of course, a range table needs to be specified before the page gets rendered.
    Best regards,
    Thomas

  • Need to disable one of the select-options in dynamic selection screen

    Hi,
    we have copied the Standard program: RFDOPR00 into Z, my requirement is to disable one of the select-options in dynamic selection screen for ex: Reason code(User shouldnot able to enter anything in it).
    Can anyone please tell me the procedure to do it... I had tried using at selection-screen but it doesnt work as it in 'LOOP AT SCREEN', i am not able to capture the Parameter name(screen-name).
    Thanks,
    Ravi

    Hi,
    Get inside your selection screen, by executing your program.
    Now type /h in the field where you enter transaction code and press enter.
    Now again press enter, this will take you debugger starting from your Selection screen.
    You might be knowing this, still if you are not aware of this, this might be a valuable tip.
    From here , you can trace your Parameter name.

Maybe you are looking for

  • Can't print from iBook G4 via Windows XP to an HP PSC 1410

    Hello, I realize this question is very similar to others on this discussion but I haven't been able to find an answer to my problem. I cannot print from my iBook via XP to an HP PSC 1410. I can print from my iBook via XP to an HP LaserJet 4L. I was a

  • Energy Saver Startup times

    I wrote a script that opens an online radio station when iCal tells it to to act as a sort of alarm clock for me. The only way that this works is because I tell my computer to turn on at 9:55am via the Energysaver Scheduler option so that the compute

  • Getting An error has occured while processing Report error

    Ok so I know that the  An error has occured while processing Report The query processor ran out of internal resources and could not produce a query plan. has been discussed a million times, but I have a problem that I think might be new. I can not ch

  • Replacements of NDIS 5.1 LBFO routines in NDIS 6.0

    Curiously, what are replacements of following functions defined in NDIS 5.0? How can they be used in NDIS 6.0? Thanks! - NdisMSetMiniportSecondary - NdisMPromoteMiniport JH

  • Sun Studio Creator JSP completition dont work...

    why JSP completition dont work in Sun Stidio Creator for the taglibs like jsf core/ html etc... when taglibs are imported... but JSP completition work for standart HTML I meen this : http://j0ke.coconia.net/JSPCompletior.JPG