Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:35

Can't type in my form!


Poster: ddumond
Dated: Friday August 19 2005 - 6:32:08 BST

I'm testing out the script and ran into a lil bump in the road!

I set-up a form in the menu like so:
Quote:
with(milonic=new menuname("Search")){
style=menuStyle;
aI("text=<form method=post action=http://www.laurentian.ca/cgi-bin/htsearch_e.cgi><input type=text name=words size=15><input type=submit value=go></form>");
}


And it looks fine, however when I got to put text in it... nothing happens?!

Here's the link: http://www.dumondcreations.com/clients/bms/

Am I doing something wrong?

Thanks!

****FOLLOW UP!****
I'm on the Mac platform (safari/explorer), not sure if it makes a difference! I can get it to type by "right clicking" in the box and can only get it to submit by pressing "enter"... I find this extremely odd because this isn't the case when I use the code outside the menu! Help!!! 8O


Poster: John
Dated: Friday August 19 2005 - 16:45:19 BST

You need a type=form; in there...
Code:
aI("text=<form method=post action=http://www.laurentian.ca/cgi-bin/htsearch_e.cgi><input type=text name=words size=15><input type=submit value=go></form>;type=form;");


Poster: ddumond
Dated: Friday August 19 2005 - 16:55:06 BST

John wrote:
You need a type=form; in there...
Code:
aI("text=<form method=post action=http://www.laurentian.ca/cgi-bin/htsearch_e.cgi><input type=text name=words size=15><input type=submit value=go></form>;type=form;");


Nice catch John! You're a genius! ;)

Thank you!


Poster: kevin3442
Dated: Friday August 19 2005 - 23:32:43 BST

OMG... now he's a genius! We'll never hear the end of it! ;)


Poster: John
Dated: Saturday August 20 2005 - 18:34:07 BST

ddumond wrote:
Nice catch John! You're a genius! ;)

You're welcome - and thank you!

kevin3442 wrote:
OMG... now he's a genius! We'll never hear the end of it! ;)

Working on my reply now. Only have 17 pages so far, but I should be finished by next week... :roll: