Ask a Question related to Dreamweaver AppDev, Design and Development.
-
DataSmith #1
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
-
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... -
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... -
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"... -
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... -
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... -
Alexandru COSTIN #2
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
-
DataSmith #3
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
-
middletree #4
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...MX> 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 Dreamweaverthere> Killer Tips book and I have visited their site and see no errata posted> for this First Edition.
>
middletree Guest
-
gputhanv #5
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
-
DataSmith #6
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
-
gputhanv #7
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
-
DataSmith #8
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



Reply With Quote

