Welcome to WebmasterWorld Guest from 54.160.163.163

Forum Moderators: phranque

Message Too Old, No Replies

what is the code for html for form.

     

wnshops

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

10+ Year Member



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

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

10+ Year Member



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

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

WebmasterWorld Senior Member rocknbil is a WebmasterWorld Top Contributor of All Time 10+ Year Member



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

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

10+ Year Member



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

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

WebmasterWorld Senior Member rocknbil is a WebmasterWorld Top Contributor of All Time 10+ Year Member



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.

 

Featured Threads

Hot Threads This Week

Hot Threads This Month