[FX.php List] A better way of making a Conditional Value List ?
David Ness
dness at bondedbuilders.com
Fri Dec 5 12:10:08 MST 2008
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
More information about the FX.php_List
mailing list