Welcome to the LimeSurvey Community Forum

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

Lime Survey - How to get the value of the custom field of survey-questions?

  • Krutika_Lime01
  • Krutika_Lime01's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 11 months ago #152048 by Krutika_Lime01
Lime Survey provides Code, question, Help and other fields while creating question of a Survey.

I have created one custom field called Weighting for a question in a Lime Survey.

Now, I want to access the value of this field and want to use the value of this field in final score calculation of a survey.

We can access the fields of the questions with Qcode.question, Qcode.code etc.

But, while i use Qcode.weighting , I am not able to access the value of weighting of a question.

How, can i get the value of this custom field which i have created ?

Thank you for reading.
The topic has been locked.
More
6 years 11 months ago #152050 by jelo

Krutika_Lime01 wrote: I have created one custom field called Weighting for a question in a Lime Survey.

Explain what you have done to create a "custom" field.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
  • Krutika_Lime01
  • Krutika_Lime01's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 11 months ago #152056 by Krutika_Lime01
Hi @jelo,

Following steps we have performed to create a custom field called weighting for a question in a survey.

We have created one filed called weighting in database table.And also created one new field in add/edit question form.

We are able to save the value in database table. Now, we want to get the value of this custom field in final calculations.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose