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:25

'post' form in menu


Poster: edweill
Dated: Tuesday June 8 2004 - 0:59:46 BST

I have a menu with a form in it which is operating correctly using
Code:
  aI("text=<form name='login' action='#' method='get'><table border='0' width=100 class='login'><tr><td><input type='hidden' value='login' name='formuse'><br><br><br>username:<br><input name='username' type='text' size='12' maxlength='32'></td></tr><tr><td>password:<br><input name='password' type='password' size='8' maxlength='8'> <input type='image' src='/i/go-login.gif' value='submit' ></td></tr><tr><td><a href='javascript:trak(\"/login.shtml\")' class='login'>Forgot Password?</a></td></tr><tr><td><br><a href='javascript:trak(\"/register.shtml\")' class='login'>New Brokers,<br>register here</a></td></tr></table></form>;type=form;");


As you can see it is using the form in GET mode, which shows the username and password on the address bar of the resulting page. When I change the mode to POST the menu shows up all right but when I try to use it I get an error message which says
Code:
Error 501/505 - Not implemented or not supported
Internet Explorer


Is there a way to get a post methd form in my menu? Do I need a different type?


Poster: Maz
Dated: Tuesday June 8 2004 - 3:34:46 BST

Have you tried escaping \'

although I found it best to not use ' at all, if you have to try \'

I'm using post without a problem.

maz