- Posts: 2
- Thank you received: 0
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
- Topic Author
- Offline
- New Member
Less
More
6 years 11 months ago #152048
by Krutika_Lime01
Lime Survey - How to get the value of the custom field of survey-questions? was created 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.
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.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5070
- Thank you received: 1263
6 years 11 months ago #152050
by jelo
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic Lime Survey - How to get the value of the custom field of survey-questions?
Explain what you have done to create a "custom" field.Krutika_Lime01 wrote: I have created one custom field called Weighting for a question in a Lime Survey.
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
- Topic Author
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
6 years 11 months ago #152056
by Krutika_Lime01
Replied by Krutika_Lime01 on topic Lime Survey - How to get the value of the custom field of survey-questions?
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.
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.