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

Dale Bengston dbengston at tds.net
Fri Dec 5 13:40:52 MST 2008


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1582 bytes
Desc: not available
Url : http://mail.iviking.org/pipermail/fx.php_list/attachments/20081205/482f0332/smime.bin


More information about the FX.php_List mailing list