Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

Include radio button values in the subject line of the email on Submit


Level 7

I have a form where the Submit button has this script on the click event:

var oDoc = event.target;

oDoc.mailDoc ({

bUI: true,

cTo: "gs@follett.com" ,

cSubject: "page1.posFlowed.posSub.storeNbr.rawValue + " " + page1.posFlowed.posSub.storeName.rawValue + " " + "Standard Chair",

cMsg: "" ,


Between the second and third pieces of information in the Subject line I need to print the output from a set of 2 radio buttons: Place order or Quote. I'd like the text to appear rather than the rawValue. I'm not sure how to do this.

Any help would be appreciated. Thanks in advance,


1 Reply


Level 7

RadioButtonList.rbTest.caption.value.text.value returns the caption of the radiobutton named rbTest.