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

How can I set a hidden form variable and then submit?


Poster: jimijon
Dated: Saturday April 10 2004 - 4:40:37 BST

I have been trying all day trying to figure out how to set a hidden form variable and then submit the form from the menu item.

I have searched the forum but have found nothing? Please help.

-Jimijon

url://www.jimijon.com:2005
maxwell/smart goto projects and then look at the first quadrant.


Poster: Ruth
Dated: Saturday April 10 2004 - 19:27:54 BST

http://www.milonic.com/forum/viewtopic.php?t=3867 and http://www.milonic.com/forum/viewtopic.php?t=3876 Are two topics I remember reading to do with forms and making them work from the menu, not sure about a hidden variable, though I'm sure someplace it said something about such and such hidden. Don't know if they will help.

Ruth

I need the form the menu is nested in.


Poster: jimijon
Dated: Saturday April 10 2004 - 21:45:16 BST

I have looked at similar postings... however, I need to find the form that the menu is nested within. I will have this menu on various parts of my page so I need to post the specific form. I was trying to use this.form and pass it to a javascript routine.. but it doesn't seem to now anything about it as this.form is undefined.

Does this make sense?


Poster: Ruth
Dated: Saturday April 10 2004 - 23:32:08 BST

Ok, I think I understand, but defining variables as to the forms and creating a function so that the this.form would know which form it was referencing is beyond anything I know how to do. Hopefully someone can help you. The board is kind of slow on weekends. Just out of curiosity, since i can't see your page layout, are you putting the full menu with each form, binding it to a table cell or something and making it always visible at each place? If that's the case there might be another way to do what you want.

Ruth

form again


Poster: jimijon
Dated: Sunday April 11 2004 - 0:55:07 BST

Hello -

I have followed the instructions, the mac version, to have my drop down menu... so the menu items are created in the top of the page and the drop down itself is in the page. Just like the instructions. Since I might have one, two or even four areas where the menu is shown, I just want to use the form that it is located in. Then when they select an item I refresh the screen with just that quadrant changed based upon the menu selection.

-James


Poster: Ruth
Dated: Sunday April 11 2004 - 2:40:01 BST

Ok, since you have a menu appearing in one, two or more areas and it's a submenu, you could create one submenu for each form. That way, you position the particular one that goes with a particular form and since it is its own menu with all the info based on that form, it would submit that information.

Ruth