PDA

View Full Version : Autosuggestion and autocompletion


murattarakci
26.02.2010, 10:45
Is it possible to have autosuggest and autocomplete functions in Unipark? What I mean is the following:

I have some network theory related questions in my survey. Respondents are asked to write down the names of their colleagues and rate them based on a dimension. Regarding the text field, I want to predefine a list, and when respondents start typing the names in the text box, I want names to appear as suggestions from the predefined list, i.e. when “mu” is typed, there should be a suggestion of “Tarakci, Murat”, and when clicked enter it should be automatically completed. I target the question types 311 and 141/143. I don't want to use a drop down list, because the number of names in my list will be huge given that the survey will be sent to some companies.

Assuming that unipark does not provide autosuggest and auto complete, I have additional questions: by selecting an html question type, I coded autosuggestion and autocomplete functions by myself. However, I could not figure out how to define a variable. Normally, once a text type question is selected, Unipark system creates a variable v_00x in the database so the entry of the participant will be saved. How can I create such a variable within html?

I would be really grateful for your help.

Regards

Murat Tarakci

Kristian
02.03.2010, 08:54
Hello Murat,

autocomplete is currently not featured by Unipark. It may be possible to create such a feature with HTML and/or JavaScript, but access to the variables is not possible with HTML, as HTML is a pure descriptive language and does not contain the ability to manipulate/change variable data.

Currently I highly doubt you can develop such a functionality.

Regards
Kris