|
Posted by Angelos on 05/11/05 18:02
"nice.guy.nige" <nigel_moss@deadspam.com> wrote in message
news:42821155$0$371$cc9e4d1f@news.dial.pipex.com...
> While the city slept, Angelos (angelos@redcatmedia.net) feverishly
> typed...
>
>> Hello there
>
> Hi
>
>> I am trying to create A form that its fields will depend
>> on a form menu.
>> for example.
> [...]
>> When the option 1 is selected only the textfields 1 and 2 to appear,
>> when option 2 is selected only textfields 1 and 3 to appear and so
>> on... any combination I would like.
>
> I'm afraid I can't imagine how you are going to achieve this using PHP, as
> PHP does its work on the server, then delivers the page source to the
> user.
> You would be better looking for a client-side solution (eg. javascript)
> for
> this, such as the following list of options on Google:
> http://tinyurl.com/9oopm
>
> Just remember that not all users will have javascript turned on (or even
> available to them), so make sure that your form will still work without
> it.
>
> Hope that helps.
>
> Cheers,
> Nige
Thanks Nige I think you are right ... if I don't use javascript I am going
to create seperate forms for each option...
Navigation:
[Reply to this message]
|