- Posts: 31
- Thank you received: 1
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Province/city question
- douerliang
- Topic Author
- Offline
- Junior Member
Less
More
8 years 23 hours ago #135205
by douerliang
Province/city question was created by douerliang
Hello all,
I encountered a problem(Seems like lately I've always had problems :laugh: ).
I need to have a dropdown list question with 2 drop down menus in one question one for provinces & one for the corresponding cities.
First of all,with the help of the forum.I have solved this problem.
The posts is:
jQuery Autocomplete
The only downside is the data(provinces/citys) must be added one by one.
But i want to import the data by file. If i can, it will improve the efficiency of work.
Maybe there's a better way to solve this problem.
please help me , thank you !
I'm sorry for my english!
I encountered a problem(Seems like lately I've always had problems :laugh: ).
I need to have a dropdown list question with 2 drop down menus in one question one for provinces & one for the corresponding cities.
First of all,with the help of the forum.I have solved this problem.
The posts is:
jQuery Autocomplete
The only downside is the data(provinces/citys) must be added one by one.
But i want to import the data by file. If i can, it will improve the efficiency of work.
Maybe there's a better way to solve this problem.
please help me , thank you !
I'm sorry for my english!
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10109
- Thank you received: 3595
8 years 5 minutes ago #135254
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Province/city question
When adding answers or sub-questions, there is a "Quick add" button that will allow you to paste in the contents of a txt or csv file.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- douerliang
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 31
- Thank you received: 1
7 years 11 months ago - 7 years 11 months ago #135318
by douerliang
Replied by douerliang on topic Province/city question
Thank you for your replay.
I have already dealt with this problem.
And i have added provinces and citys to the tag sets.
But When use it i encountered a problem.I think this is a bug.
As shown below:
When I select different options the content is the same.
I found the javascript file (third_party/jqueryui/development-bundle/ui/i18n/jquery.ui.datepicker-zh-Hans.js) is gone.Therefore i touch the js file and copy contents of the file(third_party/jqueryui/development-bundle/ui/i18n/jquery.ui.datepicker-zh-CN.js) to it.
But it still does not work.
I have already dealt with this problem.
And i have added provinces and citys to the tag sets.
But When use it i encountered a problem.I think this is a bug.
As shown below:
When I select different options the content is the same.
I found the javascript file (third_party/jqueryui/development-bundle/ui/i18n/jquery.ui.datepicker-zh-Hans.js) is gone.Therefore i touch the js file and copy contents of the file(third_party/jqueryui/development-bundle/ui/i18n/jquery.ui.datepicker-zh-CN.js) to it.
But it still does not work.
Attachments:
Last edit: 7 years 11 months ago by douerliang. Reason: Add the full path to the file
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10109
- Thank you received: 3595
7 years 11 months ago #135325
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Province/city question
Can you give us some context on your screenshots? Where are they from? What are you trying to do?
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- douerliang
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 31
- Thank you received: 1
7 years 11 months ago #135506
by douerliang
Replied by douerliang on topic Province/city question
Hi,tpartner
I'm from China.
what i am doing is as shown below:
This problem has been solved, but there is another problem.
Because there are a lot of provinces and citys, i put all the provinces and citys in the tag set.But there is a bug when i use a tag set. As shown below:
When I choose a different label, the contens unchanged.
I‘m sorry my english is very poor.I don't know if you can understand what I said.
Thank you for your replay.
I'm from China.
what i am doing is as shown below:
This problem has been solved, but there is another problem.
Because there are a lot of provinces and citys, i put all the provinces and citys in the tag set.But there is a bug when i use a tag set. As shown below:
When I choose a different label, the contens unchanged.
I‘m sorry my english is very poor.I don't know if you can understand what I said.
Thank you for your replay.
Attachments:
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10109
- Thank you received: 3595
7 years 11 months ago #135532
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Province/city question
Please
file a bug report
and...
- Give as much information as possible.
- Provide step-by-step instructions how to reproduce the problem.
- Provide screenshots, a sample survey and sample label-set.
- Post the link to the bug here so we can follow the progress.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.