Large Blank Space in Received Email

Bradiii 26 Mar, 2015
My form is working perfectly but when I receive the form information via email, there is a very large white (blank) space that forces me to scroll down considerably before seeing any of the actual form data.

Thanks for any help anyone could provide.
Brad
Max_admin 27 Mar, 2015
Hi Brad,

You can check and update the email template under the "email" action in your form, there must be something causing that space, if you can't find it then please post the template code here.

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Bradiii 27 Mar, 2015
Thanks and, yes, I looked at the code and didn't see anything that jumped out at me. Here's the template code:

<table>
<tr><td>I have read and understand the Model Application Guidelines</td><td>{checkbox43}</td></tr>
<br><br>
<tr><td>Gender</td><td>{checkbox_group47}</td></tr>
<br><br>
<tr><td>First Name</td><td>{text1}</td></tr>
<br><br>
<tr><td>Last Name</td><td>{text4}</td></tr>
<br><br>
<tr><td>Model Name</td><td>{text44}</td></tr>
<br><br>
<tr><td>Age</td><td>{text5}</td></tr>
<br><br>
<tr><td>Date of Birth</td><td>{text40}</td></tr>
<br><br>
<tr><td>Address</td><td>{text8}</td></tr>
<br><br>
<tr><td>City</td><td>{text9}</td></tr>
<br><br>
<tr><td>State / Province / Region</td><td>{text10}</td></tr>
<br><br>
<tr><td>Country / Region</td><td>{text11}</td></tr>
<br><br>
<tr><td>Phone Number</td><td>{text12}</td></tr>
<br><br>
<tr><td>Phone Number Type</td><td>{radio13}</td></tr>
<br><br>
<tr><td>Personal Facebook Page</td><td>{text14}</td></tr>
<br><br>
<tr><td>Facebook Fan page</td><td>{text15}</td></tr>
<br><br>
<tr><td>Email Address</td><td>{text16}</td></tr>
<br><br>
<tr><td>Modeling Experience</td><td>{checkbox_group17}</td></tr>
<br><br>
<tr><td>What made you want to become a Sinister Doll?</td><td>{textarea18}</td></tr>
<br><br>
<tr><td>Biography</td><td>{textarea19}</td></tr>
<br><br>
<tr><td>Model Measurements are Listed as:</td><td>{checkbox_group25}</td></tr>
<br><br>
<tr><td>Height</td><td>{text20}</td></tr>
<br><br>
<tr><td>Weight</td><td>{text21}</td></tr>
<br><br>
<tr><td>Bust</td><td>{text22}</td></tr>
<br><br>
<tr><td>Waist</td><td>{text23}</td></tr>
<br><br>
<tr><td>Hips</td><td>{text24}</td></tr>
<br><br>
<tr><td>Cup</td><td>{text26}</td></tr>
<br><br>
<tr><td>Model Dress and Shoe Sizes are Listed as:</td><td>{checkbox_group28}</td></tr>
<br><br>
<tr><td>Dress Size</td><td>{text29}</td></tr>
<br><br>
<tr><td>Pants Size</td><td>{text52}</td></tr>
<br><br>
<tr><td>Shirt Size</td><td>{text53}</td></tr>
<br><br>
<tr><td>Shoe Size</td><td>{text30}</td></tr>
<br><br>
<tr><td>Hair Color</td><td>{text31}</td></tr>
<br><br>
<tr><td>Hair Length</td><td>{checkbox_group45}</td></tr>
<br><br>
<tr><td>Other Hair Style Description</td><td>{text46}</td></tr>
<br><br>
<tr><td>Eye Color</td><td>{text33}</td></tr>
<br><br>
<tr><td>Ethnicity</td><td>{text34}</td></tr>
<br><br>
<tr><td>Compensation</td><td>{text35}</td></tr>
<br><br>
<tr><td>Submit Your Best Five (5) Images</td><td>{image1}</td></tr>
<br><br>
<tr><td></td><td>{image2}</td></tr>
<br><br>
<tr><td></td><td>{image3}</td></tr>
<br><br>
<tr><td></td><td>{image4}</td></tr>
<br><br>
<tr><td></td><td>{image5}</td></tr>
<br><br>
<tr><td>Captcha</td><td>{captcha}</td></tr>
<br><br>
<tr><td>{label}</td><td>{captcha}</td></tr>
</table>
GreyHead 27 Mar, 2015
Hi Brad,

It doesn't look as though that is the problem - do you see anything if you look at the source code of the email you receive?

Bob
Bradiii 27 Mar, 2015
I've got the message set up to send as html. It seems that when I change my email view to plain text, the space isn't there anymore. I'm going to change the setting to send the emails as text and see if that does anything.
Bradiii 27 Mar, 2015
Yes, it seems that when I change the email format in the Component to "Text", there is no space but all the code in the email template comes through as well. If I change it back to HTML, then I receive the large blank space. Do you think there's some code in the actual component template file that needs to be looked at?
Max_admin 27 Mar, 2015
What email client do you use to view the emails ? the template should not need any changes to work as expected.
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Bradiii 27 Mar, 2015
If I use Squirrel Mail on my web browser and change it to display text instead of html, it works fine. If I change it to html, it shows the large white space. The large white space is also displayed when I open the email on my iPhone. My business associate has the same problem and he uses an Galaxy phone on Android.
Max_admin 27 Mar, 2015
Ok, maybe you can try to change the email template code, because you have <br><br> tags between table rows which is not a correct code formatting, try to remove those <br> tags and that may have a good effect, I'm not sure though.
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Bradiii 27 Mar, 2015
I'll give that a try. The reason I put them in there was because the text was all super compressed when we received the email. Thought that might spread it out a little and make it easier to read.
Bradiii 27 Mar, 2015
Changing the email template back to Auto instead of Custom removed all the <br> code that I put in there to space the lines out and it fixed the problem.

Thanks!
GreyHead 28 Mar, 2015
Hi Brad,

Ah sorry. I missed the <br>s - what happens with invalid table HTML is that it gets 'squeezed' out of the table - and in this case was all put before the <table> tag.

You can add them inside the <td> tags - or just add empty rows in between the entries:
<tr><td colspan='2'> </td></tr>

Bob
This topic is locked and no more replies can be posted.