Forums

Problem with email display

talkscientist 15 Aug, 2008
Hi,
I'm having trouble getting the email sent out when a user fills a form to contain all the field names. Basically, it works fine when I have the HTML form not in a table but as soon as I put it in one I don't think it is able to see the fields in the right hand column (the 'Form Fields names' in the Autogenerated code tab only displays the fields from the left hand column and therefore when submitted, the email comes through displaying {text_8} etc...) my current HTML is the following :

<style type="text/css">
<!--
.style1 {
color: #999999;
font-style: italic;
}
-->
</style>
<table width="660" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="327" valign="top"><DIV class=form_item >
<DIV class="form_element cf_textbox" ><LABEL class=cf_label >Company Name :</LABEL><INPUT class="cf_inputbox required" id=text_0 maxLength=150 size=30 name=text_0></DIV>
<DIV class=clear > </DIV></DIV>
<DIV class=form_item >
<DIV class="form_element cf_textbox" ><LABEL class=cf_label >Country :</LABEL><INPUT class="cf_inputbox required" id=text_1 maxLength=150 size=30 name=text_1 ></DIV>
<DIV class=clear > </DIV></DIV>
<DIV class=form_item >
<DIV class="form_element cf_textbox" ><LABEL class=cf_label >Contact Person :</LABEL><INPUT class="cf_inputbox required" id=text_2 maxLength=150 size=30 name=text_2 ></DIV>
<DIV class=clear > </DIV></DIV>
<DIV class=form_item >
<DIV class="form_element cf_textbox" ><LABEL class=cf_label >Phone Number :</LABEL><INPUT class="cf_inputbox required" id=text_7 maxLength=150 size=30 name=text_7 ></DIV>
<DIV class=clear > </DIV></DIV>
<DIV class=form_item >
<DIV class="form_element cf_textbox" ><LABEL class=cf_label >E-Mail :</LABEL><INPUT class="cf_inputbox required" id=text_4 maxLength=150 size=30 name=text_4 ></DIV>
<DIV class=clear > </DIV></DIV><DIV class=form_item>
<DIV class="form_element cf_dropdown">
<LABEL class=cf_label>Select Software : </LABEL>
<SELECT class="cf_inputbox validate-selection" id=select_0 size=1 name=select_0><OPTION value=InterForm400 selected>InterForm400</OPTION><OPTION value=InterWord400>InterWord400</OPTION><OPTION value=InterExcel400>InterExcel400</OPTION><OPTION value=InterFax400>InterFax400</OPTION><OPTION value=InterArchive400>InterArchive400</OPTION><OPTION value=InterPJL400>InterPJL400</OPTION><OPTION value="PDF Security">PDF Security</OPTION></SELECT></DIV>
</DIV></td>
<td width="340" valign="top"><DIV class=form_item >
<DIV class="form_element cf_textbox" ><LABEL class=cf_label >iSeries Serial Number :</LABEL><INPUT class="cf_inputbox required" id=text_8 maxLength=150 size=30 name=text_8 ><br>
<span class="style1">(DSPSYSVAL QSRLNBR)</span></DIV>
<DIV class=clear > </DIV></DIV>
<DIV class=form_item >
<DIV class="form_element cf_textbox" ><LABEL class=cf_label >Model :</LABEL><INPUT class="cf_inputbox required" id=text_9 maxLength=150 size=30 name=text_9 ><br>
<span class="style1">(DSPSYSVAL QMODEL)</span></DIV>
<DIV class=clear > </DIV></DIV>
<DIV class=form_item >
<DIV class="form_element cf_textbox" ><LABEL class=cf_label >Interactive Feature Code :</LABEL><INPUT class="cf_inputbox required" id=text_10 maxLength=150 size=30 name=text_10 ><br>
<span class="style1">(DSPSYSVAL QPRCFEAT)</span></DIV>
<DIV class=clear > </DIV></DIV>
<DIV class=form_item >
<DIV class="form_element cf_textbox" ><LABEL class=cf_label >ERP Software :</LABEL><INPUT class=cf_inputbox id=text_11 maxLength=150 size=30 name=text_11 ><br>
<span class="style1">MAPICS, JEAC, XPPS, JDEdwards, SAP, Movex, IBS</span></DIV>
<DIV class=clear > </DIV></DIV>
<DIV class="form_element cf_button" ><INPUT type=submit value=Submit class="submitbutton"></DIV></td>
</tr>
</table>


I've tried to take styling etc out but it doesn't seem to make any difference. The only time it seems to work is when the form is in one column.

Any help much appreciated!🙂
Cheers,
Rob.
Max_admin 15 Aug, 2008
Hi,

Actually, I put your form code, save the form, and this appears in my form names fields filed:
text_0,text_1,text_2,text_7,text_4,text_8,text_9,text_10,text_11,select_0

then I add an email and leave the template empty and this is how the email template looks :[attachment=0]Untitled-2.gif[/attachment]

I use FireFox 3

Let me know your comments!

Cheers

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
talkscientist 15 Aug, 2008
Hey Max,
Cheers for the quick reply.
I've just tried pasting my HTML into a new form but I'm getting the same thing again. I'm using Firefox 3 and Chronoforms - 3.0 J1.5 BETA 1.
This is what my Email Template looks like if I leave it blank



and this is what my Form Fields names section looks like



Thanks again for your help, it confuses the hell out of me! :?

Rob.
Max_admin 15 Aug, 2008
well, we have BETA 2, believe me, more stable than BETA 1 but I'm waiting to se if anybody will be able to find any bug!🙂
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Max_admin 15 Aug, 2008
backup ur form, uninstall BETA 1, install BETA 2, restore your form!
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
talkscientist 18 Aug, 2008
No problem, tried that but I'm unable to restore my form now...If I click on restore form and upload it nothing appears in the form manager.
talkscientist 18 Aug, 2008
Brilliant! sorted now thanks.🙂
Rob.
Max_admin 18 Aug, 2008
Thanks Rob, for anybody get a problem with restore, this is a folders permissions issue, the tmp folder is the main reason!

if you have SSH access to your website root, navigate there and do:
chown -R Joomlauser *

replace joomla user above with the joomla account used on the host!

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.