Re: radio selection to be passed with a link ........
| From: | Per Lundberg | Date: | Wed, 23 Apr 2003 07:23:43 +0000 |
| Subject: | Re: radio selection to be passed with a link ........ | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-19568@lists.php.net to get a copy of this message | ||
On Wed, 2003-04-23 at 08:40, toby z wrote:
Hello Toby,
This is probably not 100% the right mailing list for these kind of
questions, since they have absolutely nothing whatsoever to do with PHP.
> im stuck a bit with a radio selection
> i cant pass the value onto the next page thru a link
> but if i change the page to a form it works fine
That's true, because a radio input type is always part of a form
according to the HTML specification (http://www.w3.org/tr/html4). If
you are writing invalid HTML, you can not expect it to work...
> is there a way to get about the thingg without turnin it to a form
> with a spooky button at the end ......
> to me the option is a link :S......
Yes, there are many options. Here are some:
1) use Javascript. You could, for example, have an onChange event
handler on the radio button, so that when one of the options are chosen,
the form is automatically submitted. This is not hard to do.
2) use an image as submit button. This is very popular on the World
Wide Web today.
> its actually the spooky button thinggy keeping me from usin a form
> ....
> my page will look terrabbly UGLY ..... :(
Just a general hint that applies to many things when it comes to
computers: start off with making it work, then make it be eyecandy. Too
often, the development is stalled much because we are doing things in
the wrong order.
--
Best regards,
Per Lundberg / Capio ApS
Phone: +46-18-4186040
Fax: +46-18-4186049
Web: http://www.nobolt.com
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc