sarvan75 / yii-user

Automatically exported from code.google.com/p/yii-user
0 stars 0 forks source link

dependent dropdown #64

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Can I ask for a dependent dropdonws feature, for example, like this? 
http://www.yiiframework.com/wiki/24/creating-a-dependent-dropdown/

Thanks, and yii-user is a very nice extension!

Original issue reported on code.google.com by hea...@gmail.com on 25 Feb 2011 at 8:29

GoogleCodeExporter commented 9 years ago
You can implement it yourself as yii-user profile widgets.
Dependent dropdonws feature would be nice, but I don't see a way to make this 
feature universal, without depencencies from some project-specific 
business-logic.

Any proposition how to do it?

Also if you need, I can share piece of code where I realized dependent 
droptowns for filling address as yii-user profile widgets.

Original comment by vitaliy.step on 28 Feb 2011 at 2:40

GoogleCodeExporter commented 9 years ago
Vitaliy, thanks for the reply, i'we implemented the dropdowns (state, and 
county related to state), but i dont know, how to do the validation of the 
second dropdown. 
The county dropdown data is filled with ajax and i dont know, how to modify the 
rules in the model. 
Thank you, if you share that code.

Original comment by hea...@gmail.com on 28 Feb 2011 at 8:18

GoogleCodeExporter commented 9 years ago
Your second check still loaded after the first use? I implemented the code you 
quoted above as well but only works once, after loading the second control and 
the code does not work.

Would you please post the code you used.

Original comment by geren...@sistemasycontroles.net on 19 May 2011 at 2:51