When using a "Select options" component, when trying to output the field in Views using "Webform submission data: Value" there doesn't seem to be a way to output the "safe_key" as defined in the key-value pairs. (Key-value pairs MUST be specified as "safe_key|Some readable option".)
For instance if you define:
foo_key|Foo readable option
...as an option, I'd like to be able to output "foo_key" instead of "Foo readable option".
I can see that the safe_key value is in the render array given as a parameter in line 219 of webform/views/webform_handler_field_submission_data.inc
...but there's no way to actually display that value instead of rendering the field (which ends up displaying the readable option).
Comment | File | Size | Author |
---|---|---|---|
#4 | step_2.png | 38.88 KB | mizage@gmail.com |
#3 | step_1.png | 68.75 KB | mizage@gmail.com |
Comments
Comment #2
Zooney CreditAttribution: Zooney commentedComment #3
mizage@gmail.com CreditAttribution: mizage@gmail.com commentedI got around this by building a relationship. See attached screenshots.
Comment #4
mizage@gmail.com CreditAttribution: mizage@gmail.com commentedComment #5
Liam MorlandCould this be added to the Webform documentation?