Forums

TEXTAREA breaking on email

pbass98 04 Aug, 2009
Hi-- not sure if this is a bug, but I did a simple form with a single text area, and though it works fine for submit, when the email arrives it has errors--

here's the textarea code:

<tr>
<td>Comments or questions: </td>
<td><textarea name="comments" rows="4" cols="50" wrap="physical"></textarea></td>
</tr>

and here's the source of the email that gets sent:

<tr>
<td>Comments or questions:</td>
<td><textarea cols="50" rows="4" name="comments"></td> </tr> </table></textarea></td>
</tr>

Any ideas?

Thanks
Max_admin 06 Aug, 2009
Hi,

Which Chronoforms version ? and what was the data submitted in this text area ? the email should not contain and text area tags...

Regards
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
pbass98 06 Aug, 2009
Hi Max-- chronoforms 3.1 RC5.3

Data submitted in the form was just a test string-- something like "abcdefg"

Thanks
Max_admin 06 Aug, 2009
mmm, strange, did you insert anything in the "Email template" box or you left it to be filled automatically ? the auto template generator will never insert "<textarea " kind of tags in the email, unless you have something there which broke the generator... if you think all is fine at your end then please try to send me your form code to test it here!

Regards
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
pbass98 06 Aug, 2009
Thanks Max-- I inserted nothing in the email template-- it's autogenerated.

Here's the form code:

<table width="100%">
<tr><td colspan="2"> </td></tr>
<tr><td colspan="2">Please fill out the form below to request a brochure or more information about our tours.<br /></td>
</tr>
<tr><td colspan="2"><hr></td></tr>
<tr>
<td>First Name: </td><td><input type="text" name="first_name" value="" length="25"></td>
</tr>
<tr>
<td>Last Name: </td><td><input type="text" name="last_name" value="" length="25"></td>
</tr>
<tr>
<td>Address: </td><td><input type="text" name="address" value="" length="25"></td>
</tr>
<tr>
<td>Address 2: </td><td><input type="text" name="address_2" value="" length="25"></td>
</tr>
<tr>
<td>City: </td><td><input type="text" name="city" value="" length="25"></td>
</tr>
<tr>
<td>State: </td><td><input type="text" name="State" value="" length="15"></td>
</tr>
<tr>
<td>Zip/Postcode: </td><td><input type="text" name="zip" value="" length="15"></td>
</tr>
<tr>
<td>Country: </td><td><input type="text" name="country" value="USA" length="25"></td>
</tr>
<tr>
<td>Day phone: </td><td><input type="text" name="day_phone" value="" length="15"></td>
</tr>
<tr>
<td>Evening phone: </td><td><input type="text" name="evening_phone" value="" length="12"></td>
</tr>
<tr>
<td>Fax: </td><td><input type="text" name="fax" value="USA" length="25"></td>
</tr>
<tr>
<td>Email: </td><td><input type="text" name="email" value="" length="15"></td>
</tr>
<tr>
<td>Send brochure: </td><td><input type="checkbox" name="send_brochure" value="checked"></td>
</tr>
<tr>
<td>Size of group: </td><td><input type="text" name="group_size" value="" length="5"></td>
</tr>
<tr><td> </td><td> </td></tr>
<tr><td colspan="2"><hr></td></tr>
<tr>
<td>How did you hear about us: </td><td><input type="text" name="referral_source" value="" length="25"></td>
</tr>
<tr><td> </td><td> </td></tr>
<tr><td colspan="2"><hr></td></tr>
<tr>
<td>Comments or questions: </td>
<td><textarea name="comments" rows="4" cols="50" wrap="physical"></textarea></td>
</tr>
<tr><td> </td><td> </td></tr>
<tr>
<td>Security check: </td><td>{imageverification}<br />Please type the letters you see into the box to fight spam.</td>
</tr>
<tr>
<td> </td>
<td><input type="submit" value="Submit">
</tr>
</table>
GreyHead 06 Aug, 2009
Hi pbass98,

I suspect that the problem may be the wrap='physical'. Can you try changing that to 'virtual' or taking it out completely?

bOB
pbass98 06 Aug, 2009
Hi Bob-- I tried wrap = "virtual" and then removeing the wrap statement altogether with the same results.

Thanks
Max_admin 07 Aug, 2009
Hi pbass,

Tested it here on RC5.5 and works very well and the template is correctly generated, please make sure you clean your browser and website cache and retry!

Regards
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
pbass98 07 Aug, 2009
Hi Max-- I updated to RC5.5, cleared all caches and it's still happening. Any other debug info I can provide?

Thanks
Max_admin 12 Aug, 2009
hi pbass, please try it with a form created in the wizard and let me know if it works fine ?

Cheers
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
This topic is locked and no more replies can be posted.