Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make it possible to load questionnaire options via the upload of a CSV file #1389

Open
evilaliv3 opened this issue Sep 2, 2015 · 3 comments

Comments

@evilaliv3
Copy link
Member

It should be load fields options for checkbox and selectbox from local uploaded CSV files.

It has been already identified that for loading options the file should be simply like

option
option
option
option
option
option

but the fact of referring in the idea to CSV fileds would allow in the future to implement gerarchical options like:

STATE, REGION, CITY
ITALIA, TOSCANA, MASSA
ITALIA, TOSCANA, CARRARA
ITALIA, SICILIA, PALERMO
@evilaliv3 evilaliv3 added this to the 2015 September milestone Sep 2, 2015
@evilaliv3 evilaliv3 modified the milestones: 2015 October, 2015 September Oct 6, 2015
@evilaliv3 evilaliv3 modified the milestones: 2015 November, 2015 October Nov 2, 2015
@evilaliv3 evilaliv3 modified the milestones: 2015 December, 2015 November Dec 7, 2015
@evilaliv3 evilaliv3 modified the milestones: 2016 January, 2015 December Jan 2, 2016
@evilaliv3 evilaliv3 modified the milestones: Wishlist, 2016 January Feb 8, 2016
@evilaliv3 evilaliv3 removed this from the Wishlist milestone Mar 3, 2018
@creativeanalyst
Copy link

Agree #2951 it is related to this. We also need to consider about cascading lookup fields. Here is an example use case mainly for use in US for standardize list of US states, counties and cities and may be zip codes also.

@creativeanalyst
Copy link

It will be nice to have admin user documentations, questionnaire sections updated if setting up of lookup type question feature is directly or indirectly implemented and available to use.

@evilaliv3 evilaliv3 changed the title It should be load fields options for checkbox and selectbox from local uploaded CSV files Make it possible to load questionnaire options via the upload of a CSV file Nov 21, 2024
@evilaliv3
Copy link
Member Author

evilaliv3 commented Nov 21, 2024

I've remodeled the title of the ticket that is going to track the work of integration of this enhancement currently included in #4314

Status of the current implementation:

  • At the moment the code has not been tested and no demo has been provided
  • From the observed documentation it seems missing the format of the files to be loaded and how they are generated
  • It is not clear if internationalization is considered in the implementation

Actions necessary to possibly integrate same functionality:

  • Validate the implementation verifying which is the format and that the format is adequate to simplify the user loading that by ticket idea is intended to simplify the operation of loading questions.
  • Validate the implementation verifying which is the behavior if the user has already loaded some options or if the user change language going to configure the translations for loaded options
  • Implement client or unit tests for the feature to guarantee appropriate code coverage that could be achieved by editing the existing tests and loading the file to load the options on a question of type select box

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants