[FX.php List] A better way of making a Conditional Value List ?

william.downs william.downs at gmail.com
Fri Dec 5 14:39:49 MST 2008


Many thanks David,

actually, this looks fine for part of what I need - but I will be  
needing AJAX for further requirements,

oh dear,

kindest Regards

William

On 5 Dec 2008, at 20:58, David Ness wrote:

This looks like a good example of the non-AJAX approach:

http://www.javascriptkit.com/javatutors/selectcontent2.shtml


David Allen Ness
Database Systems Programmer
Web Applications Developer



-----Original Message-----
From: fx.php_list-bounces at mail.iviking.org
[mailto:fx.php_list-bounces at mail.iviking.org] On Behalf Of Dale Bengston
Sent: Friday, December 05, 2008 3:41 PM
To: FX.php Discussion List
Subject: Re: [FX.php List] A better way of making a Conditional Value
List ?

Also, this can all be triggered by an onchange JavaScript handler
attached to popup1 rather than a submit button.
Dale

On Dec 5, 2008, at 1:10 PM, David Ness wrote:

> The answer will be AJAX unless the number of values for value list "2"
> aren't way too numerous... you can read V-L "2" values into a
> JavaScript
> array and then build the 2nd options list using the onChange
> attached to
> the first.
>
>
> David Allen Ness
> Database Systems Programmer
> Web Applications Developer
>
>
>
> -----Original Message-----
> From: fx.php_list-bounces at mail.iviking.org
> [mailto:fx.php_list-bounces at mail.iviking.org] On Behalf Of
> william.downs
> Sent: Friday, December 05, 2008 1:55 PM
> To: FX.php Discussion List
> Subject: [FX.php List] A better way of making a Conditional Value
> List ?
>
> Hi There FX.php ers,
>
> This may end up off-list - which if so then please excuse me.
>
> I mocked up a conditional value list in FX.php - but it really looks
> very bad.
>
> Basically, after selecting a value from Value List 1, I need a Submit
> button to post the form and populate the values for Value List 2.
> Terrible I know - in fact utterly atrocious !
>
> The possible values for Value List 2 are simply too many to pick up
> the first time.
>
> There is of course a Value List 3, dependent on Value List 2 - which
> would need a second Submit button - (taking the michy really)
>
> Can someone show me the better way - I am already assuming that the
> answer will have something to do with Javascript / Ajax (via an
> Onchange event) - but I can live in hope that I am wrong.
>
> Kindest Regards
>
> William
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list

_______________________________________________
FX.php_List mailing list
FX.php_List at mail.iviking.org
http://www.iviking.org/mailman/listinfo/fx.php_list



More information about the FX.php_List mailing list