Hey guys ,
I am trying for the last 1 hour but couldnt figure why my Multiselect values are not displaying in the html email sent to the user.
in my email template I have
<p><strong>Hotels : </strong>{hotels-group}</p>
hotels-group
is a multiselect on my form . Although the values are getting posted if I dont use the html template for the emailing purpose
in my form -
$form->addOption('hotels-group[]', 'hotel-5', 'hotel-4', 'option 3');
$form->addOption('hotels-group[]', 'hotel-6', 'hotel-6', 'option 3');
$form->addSelect('hotels-group[]', 'Hotels : ', 'class=selectpicker,multiple=multiple, data-max-options=2, data-live-search=true,title=Choose Hotels,data-width=fit,required=required');
Any suggestion how I can solve it