Developer forum

Forum » Templates » Forms for Editors - Not showing Radio Fields option values in Confirmation Email

Forms for Editors - Not showing Radio Fields option values in Confirmation Email

Lara Arsénio
Reply

Using Forms for Editors App.

In the NotificationTemplate, under [MyDesign]/Forms/Mail/ , When the fieldType == Radio,  it does not return the selected option value, label Text, instead, a string "On" is returned.

The field is being called under a GetLoop("FieldValues"). Here This is the output of My Radio Button "available tags". 

Field.Value: on

SubmitData.Fieldname: My Radio Button
SubmitData.Value on
SubmitData.ID 5958
SubmitData.SubmitID 312
SubmitData.FieldID 195
ValueOptionText 

What is the way to get the Selected Option Value, of a Radio Field? Are there other available tags?

Best Regards,

Lara 

 

Replies

 
Alexey Tanchenko Dynamicweb Employee
Alexey Tanchenko
Reply

Hello.

For the fields type of list (Select, Radio, Checkbox) you can use next tags:
Field.[SystemName].OptionText - Selected option text
Field.[SystemName].Value - Selected option value

 

You must be logged in to post in the forum