Radio Field Image

Hi Everyone,

Can anyone please help me, Is it possible to display image in radio button as shown in screenshot below:

  Discussion posts and replies are publicly visible

Parents
  • Try using the following code, you may replace/configure the images as per your requirements.

    a!localVariables(
      local!choice,
      a!richTextDisplayField(
        value: {
          a!richTextIcon(
            size: "EXTRA_LARGE",
            icon: "grin-alt-o",
            link: a!dynamicLink(saveInto: { a!save(local!choice, true()) }),
            linkStyle: "STANDALONE"
          ),
          a!richTextItem(text: "   "),
          a!richTextIcon(
            size: "EXTRA_LARGE",
            icon: "meh-o",
            link: a!dynamicLink(
              saveInto: { a!save(local!choice, false()) }
            ),
            linkStyle: "STANDALONE"
          )
        }
      )
    )

Reply
  • Try using the following code, you may replace/configure the images as per your requirements.

    a!localVariables(
      local!choice,
      a!richTextDisplayField(
        value: {
          a!richTextIcon(
            size: "EXTRA_LARGE",
            icon: "grin-alt-o",
            link: a!dynamicLink(saveInto: { a!save(local!choice, true()) }),
            linkStyle: "STANDALONE"
          ),
          a!richTextItem(text: "   "),
          a!richTextIcon(
            size: "EXTRA_LARGE",
            icon: "meh-o",
            link: a!dynamicLink(
              saveInto: { a!save(local!choice, false()) }
            ),
            linkStyle: "STANDALONE"
          )
        }
      )
    )

Children
No Data