CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 Depented listboxes - HELP

Print topic Send  topic

Author Message
skysigma

Posts: 24
Posted: 11/01/2010, 10:52 AM

Hi

I have a registration form where a new member has to specify by 3 list boxes
Listbox1: where he/she lives now (country)
Listbox2: whether he/she is a foreigner in this country (yes/no)
Listbox3: if yes - the country where he/she was born (country)

I need a procedure that authomatically set in Listbox3 the country indicated in the listbox1, if the listbox2 is set in no, or allows to the user the chosen of the country if the listbox2 is set in yes, but I don't know how to do it :-<

Please help me.
Thanks

Marco

View profile  Send private message
CodeChargeMVP

Posts: 473
Posted: 11/08/2010, 9:16 AM

Hello,

As you´re new with CCS, I recommend you to check out the examples

from codecharge site, I think the url is:

http://examples.codecharge.com

This examples works pretty good, but there´s a bug on them,

when you set a dependent listbox by two or three listboxes,

they´ll work good, and the records will be saved on database,

but when you wanna check out them again on the form,

only the original listbox will show a value,

By fix this I should create the dependant listboxes programmatically

with html,dhtml,javascript,ajax and php and it works all good.

No bugs anymore.



Quote skysigma:
Hi

I have a registration form where a new member has to specify by 3 list boxes
Listbox1: where he/she lives now (country)
Listbox2: whether he/she is a foreigner in this country (yes/no)
Listbox3: if yes - the country where he/she was born (country)

I need a procedure that authomatically set in Listbox3 the country indicated in the listbox1, if the listbox2 is set in no, or allows to the user the chosen of the country if the listbox2 is set in yes, but I don't know how to do it :-<

Please help me.
Thanks

Marco



_________________
Best Regards
Entrepeneur | NT Consultant
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.