Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

How is the answer input field saved in database?

More
4 years 10 months ago #207683 by sodiumchl
I am trying to replace a short-text input field with my custom input field, like in arrayTextAdapt. But my answer does not get saved in the survey response.

From arrayTextAdapt, it seems I only need to use the same id (e.g., answer123456X3X23) in my custom input field as in the existing input field. But this does seem to be enough. Please help.
The topic has been locked.
More
4 years 10 months ago #207691 by DenisChenu
Same name it's the most important

name => sent to PHP
id => used by javascript (and label)

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
More
4 years 10 months ago #207730 by sodiumchl
Aha!
After setting the name attribute to "123456X3X23" it works now.
Thank you so much!
The topic has been locked.
Moderators: holchtpartner

Lime-years ahead

Online-surveys for every purse and purpose