homepage Welcome to WebmasterWorld Guest from 54.197.215.146
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / WebmasterWorld / Webmaster General
Forum Library, Charter, Moderators: phranque & physics

Webmaster General Forum

    
what is the code for html for form.
wnshops




msg:367338
 1:32 pm on May 10, 2005 (gmt 0)

Hello webmaster.
I need help for the html code. Can you submit form to two adminstrators then instead one adminstrator. What is the html code for sending two people receive the same form.
thanks
bubby

 

kazecoder




msg:367339
 3:15 pm on May 10, 2005 (gmt 0)

I am not sure that there is html code to send the information like you want. Each html form has only one action. I think your best bet is to use mailto: as your form action and send the data to a email address that can auto forward to both admins.

rocknbil




msg:367340
 4:06 pm on May 10, 2005 (gmt 0)

Correct, the form has a single action, but you would use the receiving script to do your multiple send.

For example, a perl mailer would send mail something like this:

open (MAIL,"¦ /path_to_mail_program -t");
print MAIL qq/To: admin@yoursite.com
From: whoever filled out form
Subject: subject

Mail body
/;
close(MAIL);

You could loop through this several times, changing the "to: value, or add a cc or bcc (preferred) to the header info:

open (MAIL,"¦ /path_to_mail_program -t");
print MAIL qq/To: admin@yoursite.com
cc: address1 visible to recipient, address2
bcc: address 1 invisible to recipient,address2 also invisible

From: whoever filled out form
Subject: subject

Mail body
/;
close(MAIL);

(Edit: forum software changes the single pipes to a broken pipe, so ¦ represents the unbroken pipe character on your keyboard, shift - \)

wnshops




msg:367341
 1:28 pm on May 11, 2005 (gmt 0)

here is the code

I put webmasterword1@yahoo.com and webmasterword2@yahoo.com do you think it will submit the form to these two email.I try put did not work. Help me please

<p align="left">
&nbsp;<html xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882"
xmlns="http://www.w3.org/TR/REC-html40"><FORM METHOD="POST" ACTION="_vti_bin/shtml.exe/orderonline.htm" webbot-action="--WEBBOT-SELF--">
<!--WEBBOT BOT=SaveResults
U-File="_private/formrslt.htm"
S-Format="HTML/DL" S-Label-Fields="TRUE" B-Reverse-Chronology="FALSE" S-Email-Format="TEXT/PRE" S-Email-Address="webmasterword1@yahoo.com,webmasterword2@yahoo.com" B-Email-Label-Fields="TRUE" B-Email-Subject-From-Field="TRUE" S-Email-Subject="Appraisal Order" S-Builtin-Fields U-Confirmation-Url="Confirmationpage.htm" startspan
--><input TYPE="hidden" NAME="VTI-GROUP" VALUE="0"><!--webbot bot="SaveResults" i-checksum="43374" endspan --><P>

rocknbil




msg:367342
 5:12 pm on May 11, 2005 (gmt 0)

MY EYES! I'M BLIND! :-D

That looks like Front Page code or a Microsoft Word-generated page, which is the same thing. Front page operates differently than other programs, it is an enigma unto itself.

You may have a little better luck with this over in the WYSIWYG [webmasterworld.com] forum, as there are a few Front Page users over there that may be of help.

Sorry I can't be of more help, front page is a Black Box to me, I avoid it at all costs.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / Webmaster General
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved