Page 1 of 1

Submiting the results of a form without using a submitbutton

Posted: Mon Jan 25, 2010 3:08 pm
by sportryd
I am new at PHP coding so forgive me if this is either and obvious answer or something that just can't be done...

I am setting up a webpage so that the user has a consistent looking menu. Two of the menu buttons link directly to separate pages. The third allows the user to pick a product and then select options for that selected product on the next page.

Now, I can see how this can be done with a popup selection box and a "submit" button and then use a GET or POST function to send the data to the next page; however, I would like this button to keep the look and feel, rollover and click actions of the rest of the menu.

So, is there any way to do this with a non-standard button? I have thought about putting a function call as a rollover action, or I guess I could create a single database entry in MySQL ( although this seems to be a painful way to do this ). Am I on the right track?

Thanks ahead for any help..

Re: Submiting the results of a form without using a submitbutton

Posted: Mon Jan 25, 2010 3:14 pm
by JakeJ
Rather than a button, you could use URL text, a image of some kind, or like you said, I rollover.

The question is, do you really want users to have to submit data in a very non-obvious way?