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
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 |
I have a similar situation, haven't been able to figure this out!!
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..? :)
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:)
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 . '"';
Viewing 15 lines of 56 lines. View entire code block.
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:)