<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>How to get value of radio button in structure from a freemarker template</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=111523258" />
  <subtitle>How to get value of radio button in structure from a freemarker template</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=111523258</id>
  <updated>2026-04-08T00:44:23Z</updated>
  <dc:date>2026-04-08T00:44:23Z</dc:date>
  <entry>
    <title>How to get value of radio button in structure from a freemarker template</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111523257" />
    <author>
      <name>John Cressman</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111523257</id>
    <updated>2018-11-12T20:17:51Z</updated>
    <published>2018-11-12T20:17:51Z</published>
    <summary type="html">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 [&amp;quot; right&amp;quot;] as the value.  None of
the other fields &amp;quot;wrap&amp;quot; the value.  Is there a way to get the
raw value from a radio button in a freemarker template?</summary>
    <dc:creator>John Cressman</dc:creator>
    <dc:date>2018-11-12T20:17:51Z</dc:date>
  </entry>
</feed>
