- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-16-2024 03:54 AM - edited ‎03-16-2024 03:55 AM
Hi,
I want to retrieve field values with column labels in script include, i dont have column names, please suggest if its possible.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-17-2024 12:47 AM - edited ‎03-17-2024 12:51 AM
Hi, i have a name-value pair field which has only labels, i need to populate values in value fields,
however I'm able to achieve this with below script, thank you all for your responses 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-16-2024 02:44 PM
Hi @Habib2 ,
For field value:
var questionText = gr1.getValue('question_text');
For single field:
current[currentField].getLabel();
In that case iterate over the array (let's call it arrFields) and use
gr.getElement(arrFields[i]).getLabel();
Please refer below thread:
If I could help you with your Query then, please hit the Thumb Icon and mark it as Correct !!
Thanks & Regards,
Sumanth Meda
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-17-2024 12:47 AM - edited ‎03-17-2024 12:51 AM
Hi, i have a name-value pair field which has only labels, i need to populate values in value fields,
however I'm able to achieve this with below script, thank you all for your responses 🙂