Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Field_value vs Col_name in CSV, XML,.. exports #27

Open
git-lligas opened this issue Nov 14, 2019 · 0 comments
Open

Field_value vs Col_name in CSV, XML,.. exports #27

git-lligas opened this issue Nov 14, 2019 · 0 comments

Comments

@git-lligas
Copy link

Is it possible adjust export to CSV etc. Field Values (from Option Lists) instead of Displayed Text?
e.g. if Options are set: Field Value "1" Displayed Text "Yes", Field Value "0" Displayed Text "No".

According to Smarty Template in Export Types
{assign var=value value=$submission.col_name}
are exported "Displayed Text" values (e.g. "Yes").

How to adjust the Smarty Template to get the Field Value (e.g. "1" when answered "Yes") for exports?
The reason is that I need to work with codes of the answers not with displayed texts. Am I missing something if I guess the field values in Option Lists are there exactly for that purpose?

I have tried just blindly {assign var=value value=$submission.field_value}, but with no effect.
Many thanks for help!

Form Tools 3.0.15, Export Manager 3.1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant