Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Ryan Hellerud
3,635 Pointsmail-form perl script, not sending data correctly
Hi guys, so I have my website up and running with foundation front end (www.omegadesignla.com click 'contact us' and a modal pops up) and I installed a perl cgi script mail-form and followed the directions from my web host. The form works and will say that it submits the data when you click the button and I receive the email in my inbox however there is no data in the body of the text. It basically just sends blank data no matter what is put in the fields. Is there anyone out there that could help me with this? I'm not sure if something is wrong in my html or script. Help please!!
I followed the directions from: http://www.inmotionhosting.com/support/edu/website-design/adding-contact-forms/creating-a-contact-form-with-formmail
<div id="myModal" class="reveal-modal" data-reveal>
<form action="http://www.omegadesignla.com/cgi-bin/FormMail.pl" method="post">
<input type="hidden" name="recipient" value="connect@omegadesignla.com" />
<input type="hidden" name="subject" value="From the feedback form" />
<div class="row">
<div class="large-6 columns">
<label>Name:
<input type="text" placeholder="Full Name" />
</label>
</div>
<div class="large-6 columns">
<label>Email:
<input type="text" placeholder="Email" />
</label>
</div>
</div>
<div class="row">
<div class="large-4 columns">
<label>Phone Number:
<input type="text" placeholder="Phone Number" />
</label>
</div>
<div class="large-8 columns">
<label>What are you interested in(check all that apply)
</label>
<input id="checkbox1" type="checkbox"><label for="checkbox1">Printing
</label>
<input id="checkbox2" type="checkbox"><label for="checkbox2">Web Development
</label>
<input id="checkbox2" type="checkbox"><label for="checkbox2">Promotional
</label>
</div>
</div>
<div class="row">
<div class="large-12 columns">
<label>Message
<textarea placeholder="message"></textarea>
</label>
</div>
</div>
<br><button class="button" name="Send" type="submit">SEND</button><br>
</form>
<a class="close-reveal-modal">×</a>
</div>