Expand my Community achievements bar.

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

Avatar

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,

MDawn

1 Reply

Avatar

Level 7

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