Closed Thread Icon

Preserved Topic: linear... Pages that link to <a href="https://ozoneasylum.com/backlink?for=20982" title="Pages that link to Preserved Topic: linear..." rel="nofollow" >Preserved Topic: linear...\

 
Author Thread
jiblet
Paranoid (IV) Inmate

From: Minneapolis, MN, USA
Insane since: May 2000

posted posted 06-14-2001 16:40

I would have emailed this but my DSL got taken out by a storm.

Anyway, you said that you can just use links rather than submit buttons to get around the multiple submit buttons problem. I understand how to pass variables in the URL, but my form fields are not getting submitted with your method. I've tried both get and post type forms, and as far as I can tell, a submit command is necessary to pass the information. Am I missing something here?

-jiblet

linear
Paranoid (IV) Inmate

From: other places
Insane since: Mar 2001

posted posted 06-14-2001 20:38

http://linear1.org/barf.php?name=foo&address=bar
http://linear1.org/barf.php?name=baz&address=quux

will cause an HTTP GET, with the name=value pairs as shown (edit: try it!). The receiving script merely needs to access $foo and $bar. Any "field" you want to have submitted needs to be concatenated onto the end of the URL you pass, along with its value.



[This message has been edited by linear (edited 06-14-2001).]

jiblet
Paranoid (IV) Inmate

From: Minneapolis, MN, USA
Insane since: May 2000

posted posted 06-14-2001 22:45

Like I said, passing variables in the URL is easy. But I'm trying to pass form field values. I can't concatenate them onto the end of a URL with PHP because you don't know what the values are until the user types them in. Sure I could use javascript to concatenate the values to the end of the URL, but how would that be any better than my current solution of changing a hidden <input> 's value and using the submit() function?

-jiblet

linear
Paranoid (IV) Inmate

From: other places
Insane since: Mar 2001

posted posted 06-15-2001 00:01

OK, I understand better now what you're trying to do. Let me look at you r page a little more and think about it.

« BackwardsOnwards »

Show Forum Drop Down Menu