The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.
I have created a form and used tables to set things out neatly everything works fine including the "captcha" thingy, but the resulting email has been constructed by reading the table cells left to right. I would like the data read column by column top to bottom if you see what I mean. I thought the tabindex attribute might fix it but no. Can I add a bit of clever code or will I have to start again :(
Thanks
Rockhopper
Basically it will store all the information submitted from the form in to separate variables, then all that information is stored in the content variable in the order that you want it to appear in the email.
It was working Ok on our VIP servers, so as long as you adjust the email addresses to be your email address you should be fine.
So, just copy and paste the code, save it as mail.php and you (should be) laughing.
I mostly use Freeola's formmail script as it's quick and simple to setup.
But for where I need more control I use and can recommend the free formmail script from www.tectite.com.
Along with LOTS of other options you can create an HTML template for your email (including Tables) so that the submission ends up neatly formatted.
[s]Hmmm...[/s]
Alternatively if you have any experience with PHP you could use the mail() function and create your own script.
<table width="200" border="1">
<tr>
<td> input code etc Column 1 row 1</td>
<td> input code etc Column 2 row 1</td>
</tr>
<tr>
<td>input code etc Column 1 row 2</td>
<td>input code etc Column 2 row 2</td>
</tr>
<tr>
<td>input code etc Column 1 row 3</td>
<td>input code etc Column 2 row 3</td>
</tr>
</table>
with resulting email showing inputs from
Column 1 row 1,
Column 2 row 1,
Column 1 row 2,
Column 2 row 2,
Column 1 row 3,
Column 2 row 3
But I want
Column 1 row 1,
Column 1 row 2,
Column 1 row 3,
Column 2 row 1,
Column 2 row 2,
Column 2 row 3,
Many thanks
Yes except within a table eg.
<td><div align="left">
<input name="Address 2" type="text" tabindex="3">
</div></td>
I have created a form and used tables to set things out neatly everything works fine including the "captcha" thingy, but the resulting email has been constructed by reading the table cells left to right. I would like the data read column by column top to bottom if you see what I mean. I thought the tabindex attribute might fix it but no. Can I add a bit of clever code or will I have to start again :(
Thanks
Rockhopper