Include form value in notification

Permalink Browser Info Environment
Hi!
I am creating a form, where the user registrers for a course.
I fill in the different course dates, as a dropdown, so that I don't have to create a new form for every course date, however, the registrant needs to receive a notification including which date he/she has registrered for.

The way I've done this before, is making a new form for each course date, and manually typing this into each notification mail. Too much work, tbh.

Any way this can be done?

Sincerely
Einar Styrmoe

Type: Discussion
Status: New
Sunfield
View Replies:
insyntrix replied on at Permalink Reply
insyntrix
I have a similar situation, haven't been able to figure this out!!
Sunfield replied on at Permalink Reply
Sunfield
Could anyone with a little time and knowledge on their hands please help us out here?

How hard could it be to dupe the confirmation email going to the specified emailadress to also go to the submitter..? :)

input type="hidden" name="fID" value="<?php   echo intval($_GET['fID']); ?>" />
   <table cellpadding="8" cellspacing="0" border="0" id="tab-uc" class="ccm-tab" width="100%">
      <tr>
         <td colspan="2">
            <p><?php   echo t('To send a confirmation e-mail to users after they submit a form, select the field that should be used as the email address and enter a message.'); ?></p>
         </td>
      <tr>
         <td>
            <strong><?php   echo t('Send confirmation to'); ?></strong><br />
            <div>
            <select name="ffID">
            <?php  
            $fields = $form->getFields(intval($_GET['fID']));
            foreach($fields as $field) {
               echo '<option value="' . $field->ffID . '"';


As it can get the fields "Emailaddress" and "Name", I should also be able to, with some tweaks, be able to add to email body: field1, or answer set 1, or whatever?

Please give me a hand, coders:)

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.