Forums

Email is Empty?

jjwp 15 Oct, 2008
Hi - quick question:

I created a very simple form - one text field and a submit button.

for code exactly as i copied into the component:

<p>
<input id="Text1" type="text" /></p>
<p>
<input id="Submit1" type="submit" value="submit" /></p>


I am able to successfully send the email - but the email is empty. It only shows the IP address of the sender, it doesn't show the text from the text box of the form.

I ran with the debug option enabled and everything said "OK".

What do I need to do?

Using the 3.0 version of chrono forms and Joomla 1.5.7 (legacy plugin enabled).

Thanks,

jjwp
Max_admin 15 Oct, 2008
your field name is missing, you need to have name="text1"😉

cheers,

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
jjwp 16 Oct, 2008
Hi - thanks for the quick response!

I've done as you suggested (I think), but still no luck.

Here is my form html now:

<p>
<input id="Text1" name="text1" type="text" /></p>
<p>
<input id="Submit1" type="submit" value="submit" /></p>

The email sends, but still nothing in the email body (except for the {} that is in the email template by default)

This line shows on the page that comes up after form submission:

_POST: Array ( [text1] => this is my text entry [3f78bfc41c09b82aab6471155310c729] => 1 )


"this is my text entry" is what I inputed into the text field before I hit the submit button.

Any ideas?

Thanks,

jjwp
Max_admin 16 Oct, 2008
Hi, add this to the email template : {text1}, the {} currently there prevent the template from regeneration so you need to edit the template manually!

Cheers,

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
jjwp 16 Oct, 2008
That works! Thanks again.

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