Allow multiple but only display 1 choice

with dreamweaver 8, how do I set the display to only show 1
choice initially?
e.g. I have a month list. Initially, I want it to display Jan
- and Jan ONLY. I want to allow multiple choice of month, e.g. I
can choose Jun, July and Aug.
I set type to List, Height to 6 and allow multiple
selections.
Please help.

Hello,
I see.
Dropdowns become lists as soon as you add "select multiple".
To select multiple items from a dropdown, you need to use
javascript or a
server side language, and it can be complex.
You can Google "Javascript Multiple Select Dropdown" to get
some free
scripts.
You'd need to combine this with another script that makes the
current month
the selected value.
Honestly, this isn't intuitive or user friendly.
You have to keep opening the dropdown to select additional
months, and it's
two clicks each time.
The instructions would likely use up more space than the
list.
Then there are those that start as a height of 1 then expand
when clicked
and stay open.
Here's a free one with some examples on the lower left.
http://multi-select-dropdown-box.possible.in/section.php/section/downloads
Another thing you could do is just use some simple script to
display the
current month name.
This wouldn't be a form element, just text.
Then, have a button to "add months".
When clicked, this button displays a hidden div (This is the
"Show/Hide"
behavior.) that does have the form's listbox in it.
You can find a number of scripts online to display a
multi-select list with
the current month selected.
So, if the user just wants June...they wouldn't click the
"add months"
button.
They would just fill out the rest of the form.
The list in the hidden div still functions as part of the
form, and has the
current month selected so when the form is submitted it will
submit June.
If they do want more months, they click the button and the
list is displayed
so they can select additional months.
You'll need to add some code so that if the user has
javascript disabled the
multiselect list displays even if it's not how you want it to
look when the
page opens.Better than people not being able to use the form.
Of course, you could avoid all of this by simply having
multiple checkboxes,
one for each month.
That's easy, intuitive and doesn't require any scripting.
Take care,
Tim
"patty12345678_8" <[email protected]> wrote
in message
news:[email protected]...
> Hi Tim,
> Thanks for your help.
> I actually want the outcome as the following:
> 1) show current month
> 2) display ONLY the current month initially
> 3) allow multiple
> 4) when click the drop down box, it display the list
>
> My problem is: if I set the height to 6, it will distort
my page
> initially. I
> only want if the user click on the drop down box, it
then display the
> list.
>
> Any suggestion?
>

Similar Messages

  • Posting a full years worth but only display current date

    i am wondering how i go about posting my rss feed for the whole year but only allow itunes to read the current date? i understand from research that it takes the most current date and uses that as the first. but if i wanted to display September's 06 podcast in September and not July's 07 then how would i do that. i have seen some software that you can purchase that will do this for you, but i would rather code it my self or with the help of others. does anyone have any ideas on how this is done? or have you done it your self. any thoughts or ideas are very welcomed.

    not quite. i have cooking videos that i would like to be availbe new episode every 2 weeks. so my rss feed is set up with 27 diferent items, because 52/2=27 52 is the number of weeks. any who so there are 27 diferent items in the rss feed all with the diferent dates. (item 1= aug 30, item 2=sept sept 13, item 3= sept 27....) but on sept 13 the only items that should display would be the aug 30th and the sept 13th. but when sept 27th roles around all prev. are displayed includeing the new sept 27th episode.
    i understand that i can just reupload the rss feed and ping the system. but i am just trying to see if i can do this automated style for ease of use and to be able to concentrate on other things.
    thank you for your quick reply.

  • One Pixel Borders Print Fine But Only Display At Magnification

    I've looked around at some other posts on image borders and haven't seen any posts about image borders that print fine but do not predictably display in the PDF. For example, I add one-pixel borders to PNG images I create in SnagIt. I then use FrameMaker (8 and 11) to generate PDFs. When I view the PDFs in Acrobat Standard or Adobe Reader, the various sides of the rectangular border appear differently (some missing, some fat, some thin) until I magnify way over 100 %.
    My document reviewers are routinely telling me I've neglected to add the 1 px border to every side if the images, but they are there--just only visible when the document is printed or when it's enlarged on the screen.
    Are there any tricks for getting Adobe Acrobat/Reader to display these 1 px borders consistenly on screen? I should mention that this is also the case if I generate PDFs from MadCap Flare.

    Vincenzo
    By all means, blog. But I'm wondering if something along the lines of a petition / open letter format might be more effective in affecting the corporate decision-making process. Those of us affected should discuss and, if possible, get help on who and how to get this addressed. That's why I've asked for advice on who the relevant person is who I should contact. If you've ever worked in a bureaucracy you know that sometimes talking to the right person can save a lot of time and trouble.
    BTW, if the Apple moderators are following this thread, I'd be pleased to know what your thoughts are on this issue. This problem seems fairly common, but only among users of the 1.67 iteration of the 17" PB (as far as I know). We are users who invested a lot of money in the best (& most expensive) mobile hardware that Apple had to offer at the time of purchase. We're probably faithful customers who, in time, will spend a lot more money on Apple hardware in the future. Why squander goodwill over a matter like this?
    It just seems to make sense that Apple would institute a limited recall to fix this known and obvious fault. It's a good idea for us and for them.
    Peace
    G
    PowerBook G4, 17, 1.67   Mac OS X (10.4.7)   1 GB RAM, 60 GB IPod Photo
    PowerBook G4, 17, 1.67   Mac OS X (10.4.7)   1 GB RAM, 60 GB IPod Photo

  • Create and change BP of type Person but only display BP of type Orgnization

    Hi,
        I would like to build a role which enables creation of BP of type person but only dispaly Bp's of type org unit. using B_BUPA_RLT auth obj we can only control whether we can dispaly or maintain BP's but we cannot control what kind of  BP can be created and what can be displayed.
    Is there any way to achieve this.
    Thanks.

    Hi Neha,
    To be able to restrict acces by business partner type the process needs to be defined in customizing. after the following authorization objects should be maintained:
    B_BUPA_FDG Business Partner Relationships: Field Groups
    B_BUPR_BZT Business Partner Relationships: Relationship Categories
    B_BUPA_GRP Business Partner: Authorization Groups
    <b>B_BUPA_ATT Business Partner: Authorization Types</b>
    B_BUPA_RLT Business Partner: BP Roles
    B_BUPA_FDG Business Partner: Field Groups
    Hope this helps.
    Cheers,
    Damien

  • Google images shows 2,400,000 image results but only displays 3,000- NOT a preference issue- why/how to fix

    When accessing image searches, such as "typographic resume" I get an insanely large result such as 2,470,000 images. However, after about 3,000 results they stop showing without a notification that similar results have been removed. I have my preferences set as high as they go- it is not an issue. How can I adjust/fix this to show ALL results as I approach them, or the option to load more.
    Thanks in advance!

    Hello twdockery,
    Thanks for contacting Mozilla Support. I think what Chandan_Baba was trying to say is our browser only displays the results that Google gives us. There are no settings in the browser that would limit the amount of search results that you can see.
    I would recommend posting your question to google's support. They have a page [https://support.google.com/websearch/troubleshooter/3425345?&ref_topic=3285072#ts=3502652 here] to report issues with Image searches.
    Cheers,
    Patrick

  • HT3924 Target display mode connects but only displays desktop background, no files or command lines

    I have connected my early 2014 MacBook to a late 2012 imac and connected them via Thunderbolt cable.  Pressing Command F2 causes the screen on teh iMac to change to teh MacBook background screen, but does not display any desktop files or command lines.  Any ideas how to fix this?

    Hi tdmone,
    Welcome to the Support Communities!  The resource below may help you with the Target Display Mode options for connecting your Macbook and iMac:
    Target Display Mode: Frequently Asked Questions (FAQ) - Apple Support
    http://support.apple.com/en-us/HT3924
    The table below shows iMac computers that support TDM, the required cables, and the port of the computer to which you are connecting the iMac.
    iMac Model
    Cable Supported
    Port on Source Computer
    iMac (27-inch Late 2009)
    Mini DisplayPort to Mini DisplayPort
    Mini DisplayPort or Thunderbolt
    iMac (27-inch Mid 2010)
    Mini DisplayPort to Mini DisplayPort
    Mini DisplayPort or Thunderbolt
    iMac (Mid 2011)
    Thunderbolt to Thunderbolt
    Thunderbolt
    iMac (Mid 2012 and later)
    Thunderbolt to Thunderbolt
    Thunderbolt
    Are you connecting via the Thunderbolt ports on both computers?
    How do I enable TDM?
    Make sure both computers are turned on and awake.  
    Connect a male-to-male Mini DisplayPort or ThunderBolt cable to each computer. 
    Press Command-F2 on the keyboard of the iMac being used as a display to enable TDM. 
    Note: In Keyboard System Preferences, if the checkbox is enabled for "Use all F1, F2, etc. keys as standard functions keys," the key combination changes to Command-Fn-F2.
    Can I use a third-party keyboard or older Apple keyboard to enable TDM?
    Some older Apple keyboards and keyboards not made by Apple may not allow Command-F2 to toggle display modes. You should use an aluminum wired or wireless Apple keyboard to toggle TDM on and off.
    I hope this information helps ....
    - Judy

  • I want to keep my most visited sites bookmarked but only displays about last 10

    Like IE: I can keep adding favorites, forever & still see all listed in a long drop-down list or in folders. But when I bookmark a page in FF & say add it to a folder, then browse some more, & I want to visit my popular sites like my YouTube page, I only see about 10 sites displayed, so if I delete a couple then I can see my YouTube channel again to click on it. But I didn't realize that deleting any recent ones, even if in a folder already, will delete them permanently, defeating the purpose of having them. I want to see a longer list, again not necessarily as long as IE, but readily available.
    Hope I explained it well enough for someone to understand what I meant.

    There are several different ways to view your bookmarks, some of which are as long as you could ever want.
    (1) Bookmarks Menu
    If you have the orange Firefox button, you can hover over the triangle next to Bookmarks to display the full menu. Or, if it's more convenient, press Alt+b to display the classic Bookmarks menu.
    (2) Bookmarks Sidebar
    Press Ctrl+b to open or close the Bookmarks Sidebar. It's also accessible from the full View menu.
    (3) Bookmarks Drop-down button
    I can't keep track of where this is on the toolbars any more, but there is one somewhere.
    (4) Bookmarks Toolbar
    Similar to the IE Links toolbar.
    More info: [https://support.mozilla.com/en-US/kb/how-do-i-use-bookmarks How do I use bookmarks? | How to | Firefox Help]

  • WLC web authentication ACL to allow internet surfing only

    Hi forumers'
    I would like to restrict web authentication user to access to my other network devices. web authentication user only cna goto internet, that's all.
    according to my attachment, am i writing the right ACL syntax and apply this at the web authentication interface?
    i also try on this ACL at my core switch but seem not success.
    ip access-list extended ACL-VLAN-20
    permit tcp 172.16.20.0 0.0.0.255 host 1.1.1.1
    permit tcp 172.16.20.0 0.0.0.255 host 2.1.1.1
    permit tcp 172.16.20.0 0.0.0.255 any eq 80
    permit tcp 172.16.20.0 0.0.0.255 any eq 443
    deny tcp 172.16.20.0 0.0.0.255 172.16.1.0 0.0.0.31
    deny tcp 172.16.20.0 0.0.0.255 host 172.16.1.100
    int vlan 20
    ip access-group ACL-VLAN-20 in
    any problem with it?
    well, as long as can block web authenticaiton user only goto internet then serve my purpose
    thanks
    Noel

    This should work
    deny ip 172.16.20.0 0.0.0.255 172.16.1.0 0.0.0.31    (deny all IP traffic from guest to internal)
    permit udp 172.16.20.0 0.0.0.255 any eq 53              (or list the specific servers you want them to use)
    permit tcp 172.16.20.0 0.0.0.255 any eq 80               (allows HTTP but only outside as the deny stops internal)
    permit tcp 172.16.20.0 0.0.0.255 any eq 443             (allows HTTPS but only outside as the deny stops internal)
    but you need to add a permit for UDP 53, so that the client can talk to DNS as well, as added above.  I also put the deny the access to the internal resources higher in the list, otherwise they are allowed to access your internal HTTP/HTTPS servers.  If you want to allow that, it's better to permit the explicit servers
    You don't necessarily need to allow the 1.1.1.1 and 2.1.1.1 assuming one these are your virtual interface address
    When you do the ACL on the WLC, you need to do the inverse ACL as well.  So you need to allow teh 172.16.20.0 and the any to 172.16.20.0
    But I'd recommend that you put the ACL on the L3, that way it's easily visible to all the network engineers incase there are issues.
    HTH,
    Steve

  • The 'Access-Control-Allow-Origin' header contains multiple values '*, *', but only one is allowed. Origin 'null' is therefore not allowed access.

    Hello. I added custom http response headers to my SP site web config file as follows: 
    <httpProtocol>
          <customHeaders>
                 <add name="Access-Control-Allow-Methods" value="POST,GET,OPTIONS" />
          <add name="Access-Control-Allow-Origin" value="*" />
          <add name="Access-Control-Allow-Headers" value="Content-Type,Authorization" />
          </customHeaders>
        </httpProtocol>
    When I try to call any web service, i get these headers two times each: 
    HTTP/1.1 200 OK
    Cache-Control: private, max-age=0
    Transfer-Encoding: chunked
    Content-Type: application/atom+xml;type=entry;charset=utf-8
    Expires: Sat, 01 Mar 2014 19:11:37 GMT
    Last-Modified: Sun, 16 Mar 2014 19:11:37 GMT
    ETag: "3"
    X-SharePointHealthScore: 0
    SPClientServiceRequestDuration: 20
    SPRequestGuid: b4e77d9c-bfc3-a050-493a-ca5d251d1a72
    request-id: b4e77d9c-bfc3-a050-493a-ca5d251d1a72
    X-FRAME-OPTIONS: SAMEORIGIN
    Persistent-Auth: true
    Access-Control-Allow-Methods: POST,GET,OPTIONS
    Access-Control-Allow-Origin: *
    Access-Control-Allow-Headers: Content-Type,Authorization
    X-AspNet-Version: 4.0.30319
    X-Powered-By: ASP.NET
    Access-Control-Allow-Methods: POST,GET,OPTIONS
    Access-Control-Allow-Origin: *
    Access-Control-Allow-Headers: Content-Type,Authorization
    MicrosoftSharePointTeamServices: 15.0.0.4569
    Date: Sun, 16 Mar 2014 19:11:37 GMT
    and that gives me error from ajax: The 'Access-Control-Allow-Origin'
    header contains multiple values '*, *', but only one is allowed. Origin 'null' is therefore not allowed access.
    The 'Access-Control-Allow-Origin' header contains multiple values '*, *', but only one is allowed.
     Origin 'null' is therefore not allowed access.
    Any idea???

    Hi Ann,
    Please check whether there are duplicate custom headers in your code.
    Similar issue for your reference:
    http://social.msdn.microsoft.com/Forums/office/en-US/b79b75f4-b46b-46ae-ae29-17a352b6b90b/custom-http-response-headers-for-sp-2013-shown-2-times?forum=sharepointdevelopment 
    Regards,
    Rebecca Tu
    TechNet Community Support

  • I have Mountain Lion, but in Notifications, I want to display "20 recent items". Yet when I change the settings to allow it, it still only displays 5.

    Because I get a lot of emails, I kind of need to know this. I think it sounds a lot like a stupid question though.

    I would do that, but Mail only displays 5 incoming messages. If I'm busy working, I might need those later on and it would be a real conveince for it to still be there.

  • Allow multiple records from this table to be displayed in the form is greyed out.

    I'm trying to add a second table to my main data source in an InfoPath 2010 form (database template), but the option to allow multiple records from this table to be displayed in the form is greyed out and I can't select it.
    Can someone please tell me how to correct this? I'm guessing that there might have to be something change in MS SQL because on other occasions I've have not encountered this problem when adding a second table.
    Any help would be greatly appreciated.
    Thanks.

    So I've found a work around, but I still don't know why I'm having the problem in the first place.
    I've been trying to relate the two tables by using the primary key in the parent table to a view of the child table that also includes primary key in the parent, e.g. the ORDER ID in the order table relating to the ORDER ID in the view of the order detail
    table. For whatever reason whenever I did that InfoPath prohibited the data source from returning multiple order details.
    My work around is to use views of both the order table and order details table that include the customer ID and to relate the two table in InfoPath using the customer ID. Now I get a data source that allows multiple order detail records. In order to get
    just the order details that I want that relate to a particular order, I use a rule that sets the order id in both the order and order details query data sets before executing the query (as opposed to just the order data set).
    Hope that's a clear explanation.

  • .vcf contains multiple contacts, but only first contact appears on nano?

    Hi- love my nano, but am having trouble getting contact info into it.
    I use Palm Desktop (not Outlook) for Windows (that won't get me shot here, I hope!) and exported multiple (about 30) of my Palm contacts in one .vcf file (version 2.1), but when I copy said .vcf file into my nano\contacts folder (treating it as a hard disk) and pull up Contacts on the nano, the device only displays the first contact in the file, not all contacts.
    While I didn't find any threads here about this specific issue, I did see some old threads elsewhere about importing multiple-vs-single-contact .vcf files, but they seemed to pertain to the 3G/4G iPod, not the nano.
    Is it possible that the nano can just handle single-contact .vcf files?
    At the risk of repeating myself, the issue is not the exporting -- I can open the .vcf file in a text editor and see that all contacts are contained therein -- it's in getting the nano to display all of the contacts listed in the file, not just the first one.
    I apologize in advance if I've breached any posting etiquette. I'm a quick learner, so a slap to the wrist should be sufficient.
    TIA- AndymanD
      Windows XP  

    Information on adding contacts manually available here in the iPod 101:
    http://www.apple.com/support/ipod101/maximize/2/
    Regards,
    Colin R.

  • Videos (eg, YouTube, New York Times) do not work on my Retina Display MacBook Pro.  There is sound but only empty space where the video should be.  Help?

    Videos (eg, YouTube, New York Times) do not work on my Retina Display MacBook Pro.  There is sound but only empty space where the video should be.  Help?

    Did you install Flash Player?
    http://get.adobe.com/flashplayer/

  • HT204291 Using Azul media player app on my ipad  Apple tv will only display sound but not video from movies.  Any ideas on a fix.  I set mirroring to on but it still does not display video.  It will display photos and video recorded from my iphone.

    Using Azul media player app on my ipad  Apple tv will only display sound but not video from movies.  Any ideas on a fix.  I set mirroring to on but it still does not display video.  It will display photos and video recorded from my iphone.

    Here are the steps for AirPlay:
    Before starting Azul from your (running iOS 5.x/6.x) home screen where have have all your apps we need to turn on mirroring
    On your iPhone 4S/5 or iPad 2 or 3, double-click the Home  Button to view your recently-used apps.
    Swipe all the way to the right to until you see the  icon.
    Note: If the icon does not appear, go to the "If AirPlay Mirroring is not visible or available on your mobile iOS device" section.
    Tap the  icon to see the list of available AirPlay devices.
    Enable AirPlay Mirroring in this menu by tapping on an available Apple TV, then sliding the Mirroring slider to ON.
    Now you should be seeing your iPad/iPhone on your TV.
    Start up Azul now and using the settings icon on the top right corner go to the option that say "TV out" ON.
    When you do that you will see an Orange screen
    Now click "Done" and play the video you want to watch and it will AirPlay

  • I reinstalled iPhoto on my MacBook Pro. It opens, but only shows the loading bars and does not allow me to add pictures. How can I fix this?

    I reinstalled iPhoto on my MacBook Pro. It opens, but only shows the loading bars and does not allow me to add pictures. How can I fix this?

    Mac 101: File Sharing
    Mac OS X 10.7 Help: Transfer files between two Mac computers
    Mac OS X 10.7 Help: Set up a Windows computer to share files with Mac users
    Mac OS X 10.7 Help: Use iDisk to share files
    Mac OS X: Sharing your files with non-Apple computers
    How to share a Mac's files with a PC and vice versa.

Maybe you are looking for

  • Scan to computer not working after installing wifi booster

    working with windows 7 and hp 6515 - just installed a power booster and printer no longer finds computer when try to scan to computer

  • Automatic Creation of Project (PS) from SO (SD)

    Hi All, I know that you can automatically create a Project in PS upon creation of a Sales Order. My question is if it is possible to limit the creation only at a WBS Element Level. The scenario is that the Project we're actually implementing is a Sub

  • How to find versions of application server components to apply patches

    Hi, I have Oracle Application server 10.1.2.0.2 installed in my linux box. under metalink.oracle.com 1. i read documentation Doc ID: 420061.1 in metalink about patches and i did find one patch# 5922120 for my application middletier. but when i did a

  • Declaring the var in the constructer

    How can someone do this without declaring the photos var before the constructer as a field? package org.robotlegs.demos.imagegallery.models.vo     import mx.collections.ArrayCollection;     [Bindable]     public class Gallery         public var photo

  • Order Blocked for billing

    Hi, I need to block a sales order depending on the amount for Billing. Any idea where in configuration its done that its automatically blocked . If so then where to store this amount so that i can change it when needed.