We are transitioning over to a new forum platform. Please post new issues there. Existing threads will be dealt with here unless you choose to move them over. Visit the new forum

Forum

Thread tagged as: Question, Forms

Perch Forms Select List Names and Values in Email

I have a form that has a select list which enables the visitor to select their type of enquiry.

<perch:input type="select" class="form-control" id="enquiry_type" required="true" label="Type of enquiry" options="General enquiry|contactus,Data enquiry|clinicalgovernance,Finance enquiry|finance" allowempty="true" />

The value (after the | ) is the first part of the email address that the enquiry needs to go to. This works really well.

However, in the received email, the 'Type of enquiry' is shown as 'contactus' (understandably, as that is the value!). But in the instance of the email it would be better to show the 'name' eg: General enquiry.

Is there a way this could be done?

Simon Clay

Simon Clay 127 points

  • 2 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

I don't believe so, no.