Current location: Hot Scripts Forums » General Web Coding » HTML/XHTML/XML » Generating 2 separate e-mails from a single SUBMIT

Generating 2 separate e-mails from a single SUBMIT

Reply
  #1 (permalink)  
Old
New Member
 
Join Date: Feb 2013
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Generating 2 separate e-mails from a single SUBMIT

Hello, and thank you for your help.
I am using a Wordpress Theme which has a self-contained forms generator. From what I can see, it generates basic HTML code using the SUBMIT button. It picks up the keyed in e-mail address of the user and creates an e-mail using that data as the From field.

Fine..
The situation: We have a small business with occasional on-line inquiries. The clerks there are NOT on the computer full-time and what I would like is to have the submit button generate a SECOND e-mail which is sent to trigger@Ifttt.com. This will in-turn, generate a phone call informing the clerk. For this second e-mail the From field has to be different than the FROM field of the user, ie, the FROM, TO and SUBJECT should be pre-filled out. Is this possible, that is, can a single SUBMIT button generate 2 emails, one based on form content and a second independently sent to another location pre-filled?

Here is the current form HTML:
Thank you for any help/advice!

Pradhan

<div id="content">
<link rel='stylesheet' id='grunion.css-css' href='http://www.gratitudeheartgarden.com/wp-content/themes/Karma/truethemes_framework/extended/grunion-contact-form/css/grunion.css?ver=3.5.1' type='text/css' media='all' />
<div id='contact-form-4908'>
<form action='#contact-form-4908' method='post' class='contact-form commentsblock'>


<div>
<label for='4908-name' class='name'>Name<span>(required)</span></label>
<input type='text' name='4908-name' id='4908-name' value='' class='name'/>
</div>


<div>
<label for='4908-email' class='grunion-field-label email'>Email<span>(required)</span></label>
<input type='text' name='4908-email' id='4908-email' value='' class='email'/>
</div>


<div>
<label for='4908-phone' class='text'>Phone</label>
<input type='text' name='4908-phone' id='4908-phone' value='' class='text'/>
</div>


<div>
<label for='4908-event-type' class='select'>Event Type</label>
<select name='4908-event-type' id='4908-event-type' value='' class='select'/>
<option>Wedding</option>
<option>Birthday</option>
<option>Funeral</option>
<option>Bar Mitzvah / Bat Mitzvah</option>
<option>Other</option>
</select>
</div>


<div>
<label for='4908-event-date' class='text'>Event Date</label>
<input type='text' name='4908-event-date' id='4908-event-date' value='' class='text'/>
</div>


<div>
<label for='4908-additional-information-comments' class='textarea'>Additional Information / Comments</label>
<textarea name='4908-additional-information-comments' id='contact-form-comment-4908-additional-information-comments' rows='20'></textarea>
</div>

<p class='contact-submit'>
<input type='submit' value='SUBMIT' class='ka-form-submit'/>
<input type="hidden" id="_wpnonce" name="_wpnonce" value="478c82607e" /><input type="hidden" name="_wp_http_referer" value="/contact/" />
<input type='hidden' name='contact-form-id' value='4908' />
</p>
</form>
</div>
Reply With Quote
Reply

Bookmarks

Tags
forms, html form


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
submit buttons? godonholiday JavaScript 5 08-24-06 11:12 AM
Submit form automatically - not the submit button INTEL JavaScript 12 12-07-05 06:09 AM


All times are GMT -5. The time now is 06:25 AM.
vBulletin® Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.