Help - Search - Members - Calendar
Full Version: Forms And Surveys - Is There Not Stock Forms?
MonsterSmallBusiness Forums > MonsterCommerce > How do I?
Kman
With many other shopping carts I have used there is usually a very easy way to insert a form into a webpage running on their server. Now I'm curious without coding my own - is there a custom call for a contact form or customer surver with monstersmile.gif software?
Brad
Hi KMan -

Yes, we do have a standard formmail you can use for surveys and contact forms, etc.... but I don't have it on my home pc pinch.gif

I'll make sure to post an example here tomorrow of how to use it thumbsup.gif

Till then..... sleeping.gif
ArcoJedi
Here is the quick example I always sent folks who ask.

recipient: who the mail is going to.

subject: what will show up in the subject line

redirect: where the user will end up after submitting the form

email: the "from" field in the email message



CODE
<form action="http://formmail.monstercommerce.com/cgi-bin/ntformmail/ntformmail.pl" method="get" name="inquiry_form" id="inquiry_form">
 <table width="100%" border="0" cellspacing="0" cellpadding="0">
   <tr>
     <td width="26%"><div align="right"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">
         <INPUT NAME="recipient" TYPE="hidden" VALUE="test@monstercommerce.com">
         <INPUT TYPE="hidden" NAME="subject" VALUE="Free Sample!!!">
         <INPUT TYPE="hidden" NAME="redirect" VALUE="http://www.monstercommerce.com">
         </font><font size="2">COMPANY:&nbsp;</font></div></td>
     <td width="74%"><input name="company" type="text" id="company" size="50"></td>
   </tr>
   <tr>
     <td><div align="right"><font size="2">NAME:&nbsp;</font></div></td>
     <td><input name="name" type="text" id="name" size="50"></td>
   </tr>
   <tr>
     <td><div align="right"><font size="2">STREET:&nbsp;</font></div></td>
     <td><input name="street" type="text" id="street" size="50"></td>
   </tr>
   <tr>
     <td><div align="right"><font size="2">CITY:&nbsp;</font></div></td>
     <td><input name="city" type="text" id="city" size="40"></td>
   </tr>
   <tr>
     <td><div align="right"><font size="2">STATE:&nbsp;</font></div></td>
     <td><input name="state" type="text" id="state" size="6"></td>
   </tr>
   <tr>
     <td><div align="right"><font size="2">ZIP CODE:&nbsp;</font></div></td>
     <td><input name="zip" type="text" id="zip" size="15"></td>
   </tr>
   <tr>
     <td><div align="right"><font size="2">PHONE NUMBER:&nbsp;</font></div></td>
     <td><input name="phone" type="text" id="phone"></td>
   </tr>
   <tr>
     <td><div align="right"><font size="2">EMAIL ADDRESS:&nbsp;</font></div></td>
     <td><input name="email" type="text" id="email" size="50"></td>
   </tr>
   <tr>
     <td><p>&nbsp;</p>
       <p align="right"><strong>Amount:</strong></p></td>
     <td>&nbsp;</td>
   </tr>
   <tr>
     <td><div align="right">$100</div></td>
     <td> <div align="left">
         <input type="radio" name="option1" value="100">
       </div></td>
   </tr>
   <tr>
     <td><div align="right">$200</div></td>
     <td> <div align="left">
         <input type="radio" name="option1" value="200">
       </div></td>
   </tr>
   <tr>
     <td><div align="right">$300</div></td>
     <td> <div align="left">
         <input type="radio" name="option1" value="300">
       </div></td>
   </tr>
   <tr>
     <td><div align="right">$400</div></td>
     <td> <div align="left">
         <input type="radio" name="option1" value="400">
       </div></td>
   </tr>
   <tr>
     <td>&nbsp;</td>
     <td>&nbsp;</td>
   </tr>
   <tr>
     <td><div align="right">I want to join the mailing list:</div></td>
     <td><input name="maillist" type="checkbox" id="maillist" value="yes"></td>
   </tr>
   <tr>
     <td><div align="right">I am a pirate:</div></td>
     <td><input name="pirate" type="checkbox" id="pirate" value="yes"></td>
   </tr>
 </table>
 <br>
 <table width="59%" border="0" align="center" cellpadding="0" cellspacing="0">
   <tr>
     <td width="26%" valign="top"><div align="right"><font size="2">COMMENTS:&nbsp;</font></div></td>
     <td width="74%"><textarea name="comments" cols="45" rows="5" id="textarea"></textarea></td>
   </tr>
 </table>
 <p align="center"><br>
   <br>
   <input type="submit" name="Submit" value="Submit">
   &nbsp;&nbsp;&nbsp;
   <input name="Reset" type="reset" id="Reset" value="Reset">
 </p>
</form>
Wordman
QUOTE (ArcoJedi @ Jun 16 2004, 11:40 AM)

    <tr>
      <td><div align="right">I am a pirate:</div></td>
      <td><input name="pirate" type="checkbox" id="pirate" value="yes"></td>
    </tr>
  </table>

This part of the code is interesting chris.gif
ArcoJedi
Aye, matey! I forgot that part was there. laugh.gif Anyway, it is set there to be an example of what you can do with the formail code. Does anyone have any good luck with these? Use them a lot? Recommend them? Don't like them?

Shiver me timbers!
bookmark
We have a Contact Us form that we use instead of just putting our e-mail address up there. The good news is that customers seem to really like it so we get tons of e-mail inquiries. The bad news is that customers seem to really like it so we get tons of e-mail inquiries.

It's taking us so much longer to answer e-mails now, but some have actually converted into sales, so I guess it's okay.

I got the coding on this forum and modified it a bit for my own needs. I'll rummage around for the code for you.

Patti
bookmark
This is what someone else posted a while back. I made a few changes.

<b>Can't find what you're looking for?<br>Have a question before ordering?<br>Any other question, comment or concern?</b>
</p>

<P align=center>Tell us what you think about our web site, our company, or anything else that comes to mind. We welcome all of your comments and suggestions. </p>

<form method="POST" name="Feedback Form"
action="http://formmail.monstercommerce.com/cgi-bin/ntformmail/ntformmail.pl">
<input TYPE="hidden" NAME="recipient" VALUE="Your e-mail here">
<input TYPE="hidden" NAME="subject" VALUE="Feedback from Website">
<input TYPE="hidden" NAME="redirect" VALUE="Your Redirect page here">
<input TYPE="hidden" NAME="missing_fields_redirect" VALUE="YOUR MISSING FIELDS PAGE">
<input TYPE="hidden" NAME="return_link_url" VALUE="http://www.yourdomainhere.com"
<input TYPE="hidden" NAME="return_link_title" VALUE="Back to Home Page"
<input type=hidden name="required" value="email,phone,realname">
<input type="hidden" name="env_report" VALUE="REMOTE_HOST,REMOTE_ADDR,HTTP_USER_AGENT">
<p><br><strong>What type of comment would you like to send?</strong></p>
<p><font color="#333399"><input type="radio" name="MessageType"
value="Suggestion"></font>Suggestion <font color="#333399"><input type="radio"
name="MessageType" value="Question" checked></font>Question<font color="#333399">
<input type="radio" name="MessageType" value="Compliment"></font>Compliment<font
color="#333399"> <input type="radio" name="MessageType" value="Problem"></font>Problem
</p>
<p><strong>What would you like to comment on?</strong></p>
<p><font color="#333399"><select name="Subject" size="1">
<option selected>Our Web Site</option>
<option>Our Products</option>
<option>Your Order Status</option>
<option>(Other)</option>
</select> </font>Other:<font color="#333399"> <input type="text" size="26"
maxlength="256" name="SubjectOther"> </font></p>
<p><strong>Please enter your comments in the space provided below:</strong></p>
<p><font size="2" color="#333399"><textarea name="Comments" rows="7" cols="48"></textarea>
</font></p>
<p><strong>Please tell us how to contact you:</strong></p>
<table width="341">
<tr>
<td width="287"><font size="2" face="Arial, Helvetica, sans-serif"><b>Name </b></td>
<td width="257"><font color="#333399"><input type="text" size="35"
maxlength="256" name="realname"> </font></td>
</tr>
<tr>
<td width="287"><font size="2" face="Arial, Helvetica, sans-serif"><b>E-mail </b></td>
<td width="257"><font color="#333399"><input type="text" size="35"
maxlength="256" name="email"> </font></td>
</tr>
<tr>
<td width="287"><font size="2" face="Arial, Helvetica, sans-serif"><b>Telephone</b> <b>Number </b></td>
<td width="257"><font color="#333399"><input type="text" size="35"
maxlength="256" name="phone"> </font></td>
</tr>
</table>
<p><font color="#333399"><input type="submit" value="Submit Comments">&nbsp;&nbsp;&nbsp;
<input type="reset" value="Clear Form"></font></p>
</form></span>

Here is the coding we have on our redirect page:

<b><center>Thank you for your e-mail!
<br><br><br>
<font size="2" color="333399"><a href="http://www.yourdomainhere.com"><u>Click here to return to our home page</a></b></center>

Patti

newageweb
It gets a bit more complicated if you don't know a little scripting, but I always use PHP for forms these days. The only problem I have with formmail really is that the email address is listed right there plain as day in the script... which leads to spam bots sucking it up. crying.gif

I have my own server and I just run it from there, but I assume, though don't know if the MC servers have PHP running on them.
Kman
no monstersmile.gif is run on a window environment thus - it uses ASP.

Jeez I can't believe with all the custom calls and features there is no
<%contactform%> call - I've worked with some very basic carts before and this has always been included.
TonyG5003
I thought I would post this, in case anyone else is worried about forms and protecting email from spammers.

Since my store is not opening until September, I have been debating using forms, versus e-mail links, and even so far as making some important email addresses images instead of text, so at least someone could use their own e-mail program if they choose to.

However, at formmail.com, instead of having your forms directed to an e-mail address, in your profile at formmail.com, you assign a number to each e-mail address. Therefore, in the "recipient" part of the form, you insert "1" or whatever number is assigned to that particular e-mail address. So, the spammers can't find an e-mail address in the code, because there isn't one.

The form is processed at formmail, and then is forwarded to the proper email address.

They have a limited free service, but for a nominal amount, you can get more services.

Anyone have any thoughts on this topic?

Tony
johnj
QUOTE
The only problem I have with formmail really is that the email address is listed right there plain as day in the script... which leads to spam bots sucking it up.

Another option might be to give the form it's own address to send to. Then, set your spam blocker on that account to only receive mail from the domain formmail uses... Unless of course you don't have a spamblocker. We have the same problem with our fax to email service. Now it ONLY puts my faxes in the Inbox, since that's all that should be sent to that particular address. Hope this helps.
newageweb
QUOTE
Another option might be to give the form it's own address to send to. Then, set your spam blocker on that account to only receive mail from the domain formmail uses...
That is a great idea, and will of course work as you say... but the one potential problem is that the address can still get grabbed by spam bots, which is not an issue in this case... but viruses etc can get ahold of it and then start spoofing email from your domain.

Now of course they don't need an actual valid email on your server to do this, but as long as you don't have a catch-all account setup, it's better for you if they had to guess a valid email address and get a bounce message when their spam bounces come back to your server.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.