By sheetal123 on
Hello everyone,
I want to add country dropdown in my profile page and registeration page ,that should take value from database.
I have added profile module.But there I have to provide values with comma separated.I am not satisfied with that.
How should I proceed? can anyone help me?
Comments
All I did was to go into
All I did was to go into google and search for default countries, I soon found a list (which aren't CSV, they just have to be line separated) cut and paste this into your selection box options field;
Pobster
Thanks Pobster. But I want
Thanks Pobster.
But I want to take values from database table.
I want values in country dropdown from database(suppose country table).
After that when I select particular country, in next dropdown of State ,its related states should be there.
Any response to ur Question so far
Hi i came across ur question and i have the same problem. Where u able to find a solution. Its not easy for me at thiis point joining tables and cross referencing within a drupal framework. I need to reference a table of african countries when accessing a table of members of a community that happen to be african. I do, like yourself, prefer a different table for Africa countries intead of creating a field type (countries) for that particular webform. thanks. Let me know of anything.