Combo box in form question

Ask a Question related to Dreamweaver AppDev, Design and Development.

  1. #1

    Default Combo box in form question

    I recently purchased a book called "Dreamweaver Killer Tips" that had an
    example of a combo box in a form that would work as they do in Visual Basic;
    i.e., allow the visitor to enter an item that is not a choice in the drop down
    list. It does not seem to work as advertised by the author.

    Can anyone tell me if this is possible in Dreamweaver and offer an example of
    code that allows it to be accomplished?

    If not, should I try to design the form in Flash?

    Thanks for any help.

    --Frank

    DataSmith Guest

  2. Similar Questions and Discussions

    1. Linking Combo Boxes in a pdf form
      Hi, I have Acrobat 6 and I am creating a pdf form to be filled out. I'm looking to link one combo box to another. For example, when the person is...
    2. PHP Form Combo Box
      I need help actionscripting the combo boxes in this form I'm building located at http://www.purefunadventures.com/registration.htm I need to make...
    3. Combo Box Question
      Make sure the "BoundColumn" Property is set correctly. If the first Column is the PK Field, set "BoundColumn" to 1 and set the "ColumnWidths"...
    4. Combo box in main form to control a sub-form
      Hi and thanks in advance: This should be simple to do but I can't seem to get it to work: I have a very common main form - sub form...
    5. Two combo boxes on a form
      I would do a couple of things differently. First, rename your controls. is a lot more recognizable than , especially if you want to use it as...
  3. #2

    Default Re: Combo box in form question

    Hi Frank,
    Combobox is actually possible in Forms, using our product MX Widgets

    [url]http://www.interaktonline.com/demos/MXWidgets/[/url]

    It's a $60 package, but you also have Date Pickers, and other very nice
    DHTML form controls.

    We support PHP, ASP and ColdFusion

    Alexandru

    DataSmith wrote:
    > I recently purchased a book called "Dreamweaver Killer Tips" that had an
    > example of a combo box in a form that would work as they do in Visual Basic;
    > i.e., allow the visitor to enter an item that is not a choice in the drop down
    > list. It does not seem to work as advertised by the author.
    >
    > Can anyone tell me if this is possible in Dreamweaver and offer an example of
    > code that allows it to be accomplished?
    >
    > If not, should I try to design the form in Flash?
    >
    > Thanks for any help.
    >
    > --Frank
    >
    --
    InterAKT Online - Dreamweaver extensions
    [url]http://www.interaktonline.com/[/url]
    Alexandru COSTIN Guest

  4. #3

    Default Re: Combo box in form question

    Further to my original post, here's the code I am using:
    <select name="mainList" editable="true" edittext="">
    <option>Choose or enter one</option>
    <option>Smith</option>
    <option>Hubbard</option>
    <option>Dater</option>
    </select>
    The example is provided by the authors on page 206 of their Dreamweaver MX
    Killer Tips book and I have visited their site and see no errata posted there
    for this First Edition.

    DataSmith Guest

  5. #4

    Default Re: Combo box in form question

    Some people refer to dropdown lists as combo boxes. This is incorrect. There
    is no such thing as a combo box in web forms. However, you can buy the
    Interakt extension, and create something that simulates one. Or you can
    write a javascript which will make the <select> box disappear on the OnClick
    event, and will make a previously invisible text box appear in the same
    place.


    "DataSmith" <webforumsuser@macromedia.com> wrote in message
    news:d4oo7l$hhu$1@forums.macromedia.com...
    > Further to my original post, here's the code I am using:
    > <select name="mainList" editable="true" edittext="">
    > <option>Choose or enter one</option>
    > <option>Smith</option>
    > <option>Hubbard</option>
    > <option>Dater</option>
    > </select>
    > The example is provided by the authors on page 206 of their Dreamweaver
    MX
    > Killer Tips book and I have visited their site and see no errata posted
    there
    > for this First Edition.
    >

    middletree Guest

  6. #5

    Default Re: Combo box in form question

    Frank,

    Your code snippet works within Dreamweaver. For instance, I have developed a
    dreamweaver extension and am using the combo box in the properties window.

    For instance, look at the "C:\Program Files\Macromedia\Dreamweaver MX
    2004\Configuration\TagLibraries\ASPNet\DataGrid.ht m", you will see the
    following:

    <select name="thegridline" class="styleList"
    id="attr:aspnet:table:gridline" attname="gridline" editable="true">
    </select>


    -Girish

    gputhanv Guest

  7. #6

    Default Re: Combo box in form question

    Hi Girish,

    I see that example file. Two things: I am working in ASP - not ASP.Net.
    Will that make a difference? Secondly, I noticed that the example combo box
    does not have any existing options in addition to the ability to enter one.
    Would this have a bearing on its successful use?

    Thirdly, here is a link to my test code, which does not work:
    [url]http://www.imdg.net/testcbox.asp[/url]

    Incidentally, I did receive a reply from the book author who requested my code
    snippet as well, and I have not heard from her since. Not sure whether she is
    on a lecture circuit or not...

    Thank you for your feedback, Girish

    --Frank

    DataSmith Guest

  8. #7

    Default Re: Combo box in form question

    Hi Frank,

    HTML does not have combo boxes, hence most browsers may not support it as
    well. However, Dreamweaver's HTML renderer supports it by setting
    (editable="true") for a <select>. The file I referred earlier is a tag editor
    that initializes the combo box dynamically (hence you didn't see a list of
    static options). I dont know ASP.NET well enough to know whether they support
    combo box. My guess is probably not, as the resulting web forms are eventually
    delivered via a browser. IE may honor some attribute that may make a combo box,
    but I am not aware of one. Does your book say which browsers honor that
    attribute (editable).

    -Girish

    gputhanv Guest

  9. #8

    Default Re: Combo box in form question

    Girish,

    I don't think it does, although I would guess IE is supported. The book
    author's site is at [url]http://www.dwkillertips.com[/url]. I have a feeling that another
    respondent who mentioned JavaScript code as a bit of trickery would be of
    interest, but so far, I have not been able to find an example page that is
    active for it. I may have to bite the bullet and spend $ for the Impakt
    extension...

    LOL Thought it was too good to be true....

    DataSmith Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139