Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
How to get value of radio button in structure from a freemarker template
I created a new structure and am trying to get the value of one of the
fields (a radio button). I have three possible values (right, left,
center) and I want to do something based on that but it returns
something along the lines of [" right"] as the value. None of
the other fields "wrap" the value. Is there a way to get the
raw value from a radio button in a freemarker template?
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™