Forums

Receiving email but Element Fields are empty

ffwd 02 Oct, 2007
Hello!

We've got your program up and running. Everything appears to be functioning correctly except the final last step. When we are receiving the email generated, it is showing all the fields but none of the information that was input into them. Here is what we are receiving:

From: xxxxx.com
Subject: Quote Request: Custom Female Casual Poochie Pants
Date: October 1, 2007 1:36:27 PM PDT
To: xxxx.com

custom_order_form_female_standard
swatch1
swatch2
swatch3
swatch4
swatch5
swatch6
Name
email
phone
breed
length
girth
neck
comments
submit Submit Form
reset

Here is our form code:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN">
<html>
<head>
</head>
<body style="width: 650px;">
<form method="post"
 action="FORMMAIL.php"
 name="custom_order_form_female_standard">
  <div style="text-align: center; color: rgb(75, 39, 23);">Poochie
Pants Custom Order
Form<br>
Standard Female Styles<br>
  <br>
  <br>
Please check the fabric(s) you are interested in:<br>
  <br>
  <div style="text-align: left;">
  <table
 style="width: 300px; text-align: left; margin-left: auto; margin-right: auto;"
 border="2" cellpadding="2" cellspacing="5">
    <tbody>
      <tr>
        <td
 style="vertical-align: top; white-space: nowrap; text-align: center;"><input
 tabindex="1" name="swatch1" alt="Swatch 1"
 src="http://www.poochiepants.com/images/female_casual/swatch1.jpg"
 value="" type="image" border="1" height="100"
 width="100"></td>
        <td
 style="vertical-align: top; white-space: nowrap; text-align: center;"><input
 tabindex="1" name="swatch2" alt="Swatch2"
 src="http://www.poochiepants.com/images/female_casual/swatch2.jpg"
 value="" type="image" border="1" height="100"
 width="100"></td>
        <td align="center" nowrap="nowrap" valign="top"><input
 tabindex="1" name="swatch3" alt="Swatch 3"
 src="http://www.poochiepants.com/images/female_casual/swatch3.jpg"
 value="" type="image" border="1" height="100"
 width="100"></td>
      </tr>
      <tr>
        <td style="background-color: rgb(144, 90, 51);"
 align="center" nowrap="nowrap"><input tabindex="1"
 1name="swatch1" value="" type="checkbox"></td>
        <td style="background-color: rgb(144, 90, 51);"
 align="center" nowrap="nowrap"><input tabindex="1"
 2name="swatch2" value="" type="checkbox"></td>
        <td style="background-color: rgb(144, 90, 51);"
 align="center" nowrap="nowrap" valign="top"><input
 tabindex="1" 3name="swatch3" value=""
 type="checkbox"></td>
      </tr>
      <tr>
        <td align="center" nowrap="nowrap" valign="top"><input
 tabindex="1" name="swatch4" alt="Swatch4"
 src="http://www.poochiepants.com/images/female_casual/swatch4.jpg"
 value="" type="image" border="1" height="100"
 width="100"></td>
        <td align="center" nowrap="nowrap" valign="top"><input
 tabindex="1" name="swatch5" alt="Swatch 5"
 src="http://www.poochiepants.com/images/female_casual/swatch5.jpg"
 value="" type="image" border="1" height="100"
 width="100"></td>
        <td align="center" nowrap="nowrap" valign="top"><input
 tabindex="1" name="swatch6" alt="Swatch 6"
 src="http://www.poochiepants.com/images/female_casual/swatch6.jpg"
 value="" type="image" border="1" height="100"
 width="100"></td>
      </tr>
      <tr>
        <td style="background-color: rgb(144, 90, 51);"
 align="center" nowrap="nowrap" valign="top"><input
 tabindex="1" 4name="swatch4" value=""
 type="checkbox"></td>
        <td style="background-color: rgb(144, 90, 51);"
 align="center" nowrap="nowrap" valign="top"><input
 tabindex="1" 5name="swatch5" value=""
 type="checkbox"></td>
        <td style="background-color: rgb(144, 90, 51);"
 align="center" nowrap="nowrap" valign="top"><input
 tabindex="1" 6name="swatch6" value=""
 type="checkbox"></td>
      </tr>
    </tbody>
  </table>
 <br>
  <br>
     
Please Complete (all info required)<br>
  <br>
Name:        <input
 maxlength="100" size="50" tabindex="1"
 cname="Name" value="" type="text">
      <br>
  <br>
Email:        <input
 maxlength="100" size="50" tabindex="1"
 ename="email" value="" type="text"><br>
  <br>
Best Phone # to Reach You At:    <input
 maxlength="28" size="28" tabindex="1"
 pname="phone" value="" type="text">
       <br>
  <br>
Dog Breed: <input maxlength="100" size="50"
 tabindex="1" bname="breed" value="" type="text"><br>
  <br>
Length: <input maxlength="15" size="10" tabindex="1"
 lname="length" value="">     Girth:
  <input maxlength="15" size="10" tabindex="1"
 gname="girth" value="" type="text"> 
  Neck: <input maxlength="15" size="10"
 tabindex="1" nname="neck" value="" type="text"><br>
    <small>(Please refer to our <a
 href="http://poochiepants.com/index.php?option=com_content&task=view&id=4&Itemid=12"
 target="_blank">Measurement Guide</a> for assistance.)</small><br>
  <br>
Comments or Questions:<br>
  <textarea tabindex="1" cols="62" rows="5"
 qname="comments" type="text"> </textarea><br>
  <br>
  <small><span class="customNotes">After
submitting your custom order, we will contact you with your
no-obligation estimate.</span></small><br>
  <br>
 <input type="submit">  
 <input tabindex="1" name="reset" type="reset"></div>
  </div>
</form>
</body>
</html>


I've spent 2 days trying to resolve it and I am clueless😟 Any assistance is greatly appreciated!!

Many thanks ~ Maureen
Max_admin 02 Oct, 2007
Hi Maureen,

You shouldn't have wasted 2 days at this issue, we are here to help!!🙂

first rule is : Don't put your form tags or html page main tags at the html code like head, body ...etc , so in order for your code to work fine, this should be your code :


<div style="text-align: center; color: rgb(75, 39, 23);">Poochie
Pants Custom Order
Form<br>
Standard Female Styles<br>
  <br>
  <br>
Please check the fabric(s) you are interested in:<br>
  <br>
  <div style="text-align: left;">
  <table
 style="width: 300px; text-align: left; margin-left: auto; margin-right: auto;"
 border="2" cellpadding="2" cellspacing="5">
    <tbody>
      <tr>
        <td
 style="vertical-align: top; white-space: nowrap; text-align: center;"><input
 tabindex="1" name="swatch1" alt="Swatch 1"
 src="http://www.poochiepants.com/images/female_casual/swatch1.jpg"
 value="" type="image" border="1" height="100"
 width="100"></td>
        <td
 style="vertical-align: top; white-space: nowrap; text-align: center;"><input
 tabindex="1" name="swatch2" alt="Swatch2"
 src="http://www.poochiepants.com/images/female_casual/swatch2.jpg"
 value="" type="image" border="1" height="100"
 width="100"></td>
        <td align="center" nowrap="nowrap" valign="top"><input
 tabindex="1" name="swatch3" alt="Swatch 3"
 src="http://www.poochiepants.com/images/female_casual/swatch3.jpg"
 value="" type="image" border="1" height="100"
 width="100"></td>
      </tr>
      <tr>
        <td style="background-color: rgb(144, 90, 51);"
 align="center" nowrap="nowrap"><input tabindex="1"
 1name="swatch1" value="" type="checkbox"></td>
        <td style="background-color: rgb(144, 90, 51);"
 align="center" nowrap="nowrap"><input tabindex="1"
 2name="swatch2" value="" type="checkbox"></td>
        <td style="background-color: rgb(144, 90, 51);"
 align="center" nowrap="nowrap" valign="top"><input
 tabindex="1" 3name="swatch3" value=""
 type="checkbox"></td>
      </tr>
      <tr>
        <td align="center" nowrap="nowrap" valign="top"><input
 tabindex="1" name="swatch4" alt="Swatch4"
 src="http://www.poochiepants.com/images/female_casual/swatch4.jpg"
 value="" type="image" border="1" height="100"
 width="100"></td>
        <td align="center" nowrap="nowrap" valign="top"><input
 tabindex="1" name="swatch5" alt="Swatch 5"
 src="http://www.poochiepants.com/images/female_casual/swatch5.jpg"
 value="" type="image" border="1" height="100"
 width="100"></td>
        <td align="center" nowrap="nowrap" valign="top"><input
 tabindex="1" name="swatch6" alt="Swatch 6"
 src="http://www.poochiepants.com/images/female_casual/swatch6.jpg"
 value="" type="image" border="1" height="100"
 width="100"></td>
      </tr>
      <tr>
        <td style="background-color: rgb(144, 90, 51);"
 align="center" nowrap="nowrap" valign="top"><input
 tabindex="1" 4name="swatch4" value=""
 type="checkbox"></td>
        <td style="background-color: rgb(144, 90, 51);"
 align="center" nowrap="nowrap" valign="top"><input
 tabindex="1" 5name="swatch5" value=""
 type="checkbox"></td>
        <td style="background-color: rgb(144, 90, 51);"
 align="center" nowrap="nowrap" valign="top"><input
 tabindex="1" 6name="swatch6" value=""
 type="checkbox"></td>
      </tr>
    </tbody>
  </table>
 <br>
  <br>
     
Please Complete (all info required)<br>
  <br>
Name:        <input
 maxlength="100" size="50" tabindex="1"
 cname="Name" value="" type="text">
      <br>
  <br>
Email:        <input
 maxlength="100" size="50" tabindex="1"
 ename="email" value="" type="text"><br>
  <br>
Best Phone # to Reach You At:    <input
 maxlength="28" size="28" tabindex="1"
 pname="phone" value="" type="text">
       <br>
  <br>
Dog Breed: <input maxlength="100" size="50"
 tabindex="1" bname="breed" value="" type="text"><br>
  <br>
Length: <input maxlength="15" size="10" tabindex="1"
 lname="length" value="">     Girth:
  <input maxlength="15" size="10" tabindex="1"
 gname="girth" value="" type="text"> 
  Neck: <input maxlength="15" size="10"
 tabindex="1" nname="neck" value="" type="text"><br>
    <small>(Please refer to our <a
 href="http://poochiepants.com/index.php?option=com_content&task=view&id=4&Itemid=12"
 target="_blank">Measurement Guide</a> for assistance.)</small><br>
  <br>
Comments or Questions:<br>
  <textarea tabindex="1" cols="62" rows="5"
 qname="comments" type="text"> </textarea><br>
  <br>
  <small><span class="customNotes">After
submitting your custom order, we will contact you with your
no-obligation estimate.</span></small><br>
  <br>
 <input type="submit">  
 <input tabindex="1" name="reset" type="reset"></div>
  </div>


Thanks for using ChronoForms!!

Cheers

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
ffwd 02 Oct, 2007
Hi Max,

Thank you for such a quick reply. Much appreciated!

I used the code you provided and I am still getting the same blank email:

swatch1
swatch2
swatch3
swatch4
swatch5
swatch6
Name
email
phone
breed
length
girth
neck
comments
reset
Submitted by 66.81.42.70

So, maybe I have another setting wrong?? These are my settings🙂

On the GENERAL page all the info is pretty standard. I don't have anything in the Form tag attachment. Should there be something there?

SPECIAL FIELDS
not using it

FORM CODE
I have your new code in the Form HTML section and nothing in the rest of them.

FORM URLS
redirect to our 'thank you' page. working fine
submit url - nothing cuz it says if I don't know what I'm doing to leave it alone. LOL

ELEMENT TITLES
fname=custom style
1name=swatch 1
2name=swatch 2
3name=swatch 3
4name=swatch 4
5name=swatch 5
6name=swatch 6
cname=client name
ename=email address
pname=phone number
bname=dog breed
lname=length
gname=girth
nname=neck
qname=comments

AUTO GENERATED
nothing

FILE UPLOAD
don't need

DATAVIEW FIELD
nothing

MENU LINK
none. not yet published

ANTI SPAM
off

VALIDATION
nothing

So, what do you think? Where did I mess it up :whistle:


Thanks again Max.

Cheers ~ Maureen
Max_admin 02 Oct, 2007
Hi Maureen,

Thank you!!🙂 , so after looking at the code I see some problem, many of your fields which will accept input don't have a name attribute inside the tag, so for example the phone field has an attribute called pname, this is wrong, it should be "name" or yes you won't get any data at the email!!🙂

Cheers

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
ffwd 02 Oct, 2007
Good morning Max!

I'm getting ready to do a little happy dance over here! Everything is working beautifully with the program now🙂 There is just one small thing left and it will be perfect! The only thing still not coming through on the emails correctly are the check boxes. There are six of them total and the client would select whichever box corresponds to the fabric they want. Here is an example of my checkbox code:

 <tr>
      <td style="background-color: rgb(144, 90, 51);"
 align="center" nowrap="nowrap"><input tabindex="1"
 name="swatch1" value="" type="checkbox"></td>
      <td style="background-color: rgb(144, 90, 51);"
 align="center" nowrap="nowrap"><input tabindex="1"
 name="swatch2" value="" type="checkbox"></td>
      <td style="background-color: rgb(144, 90, 51);"
 align="center" nowrap="nowrap" valign="top"><input
 tabindex="1" name="swatch3" value=""
 type="checkbox"></td>
    </tr>


Tell me, oh wise one, what do you see that's off here?? :laugh:

xo ~Maureen
Max_admin 02 Oct, 2007
Hi Maureen,

Iam happy all is good now🙂

All you will have to do is to put some value at the value attribute of each checkbox, then rename them all to be swatch[] instead of swatch1, swatch2...etc

now when you submit the form you should get one line :
swatch                 value of checked checkbox


Cheers

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
ffwd 03 Oct, 2007
Perfect now!! Thank you so much Max. You've been awesome🙂

Cheers ~ Maureen
Max_admin 03 Oct, 2007
Thank you very much Maureen!!🙂

If you have 1 minute then it would be great if you can vote/review your experience with ChronoForms at the joomla extensions directory, the link is just at my signature😉

Cheers

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.