How to create a dynamic from email field?

studio 05 Aug, 2008
I want the from email to be on of my form fields, the users Contact Email as entered on the form.
I can't figure out how to set this up, at the moment my form isn't being sent anywhere at all.

In the Setup Emails tab for the form I have the created the To address as my email for testing, and the Subject and I have also added a dynamic from email field but how to I link it to my Contact Email form field?

In the properties of the dynamic from field "Enabled" is set to No, and its disabled I cant change it, is that the problem?😟

I am using J1.5.3
Max_admin 05 Aug, 2008
Hi studio,

first your email area should be green in order to be able to set "Enabled" to "Yes", how to make it green ? add a new email and see whats written by default in the red area before you add any fields and check this post also : http://www.chronoengine.com/forums/index.php?option=com_chronoforums&cont=posts&f=3&t=10727#p11115

then, to solve your issue, you will need a dynamic from email field filled with the field name which will hold the user email address, you can do this through the form wizard but it seems that you didn't observe it (we are preparing a video tutorial, I know its new and confusing), so now, you need get the field name somehow! may be post your code here and I can help you!

Cheers

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
studio 07 Aug, 2008
I think the field is named text_0.
I saw this on the emails template tab:
Contact Email{text_0}
Telephone 1{text_1}
Telephone 2{text_2}
Ad Text{text_3}
so I assumed the field name was text_0 and i put that into the dynamic from field on the emails tab.

my form doesnt even send.
I have email the results set to yes and the form is published.
I have linked it to a menu as a chronoforms with the name of the forms specified in the menu.
I am using the latest J1.5 version of chronoforms downloaded Monday 4th August 2008
Is it because i have the free version? Is there a paid version?

How do i get the email fields to turn green?
Is it a folder permissions thing on my website? My PHP is in safe mode does that cause problems?

thanks so much for your help this is driving me crazy.
Max_admin 07 Aug, 2008
Hi Studio,

if the email background is not green then this means that the email doesn't have sufficient fields to get sent and this means it will not be get sent!

for the email to get sent you need at least 1 element of every couple below :

#1- to and dynamic to
#2- subject and dynamic subject
#3- from name and the dynamic from name
#4- from email and dynamic from email

after that insure that the "Enabled" is set to "Yes" in the email properties section!

cheers

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
studio 07 Aug, 2008
wow thanks for the quick reply ...

I have the following fields in the setup emails tab and they are not green:

Dynamic From Name ( with text_0 as selected from wizard)
Dynamic From Email ( with text_1 as selected from wizard)
To
Subject

I created them in this order
To
Subject
Dynamic From Name
Dynamic From Email
but when I saved the form and went back to the setup emails tab their order had changed.

I have "email the results" set to yes and the form is published.
I cannot find anywhere that says "enabled" except for on the individaul setup email fields and I can't set that to enabled because the fields are not green.
do i have to setup "elements titles" ? because i have not defined anything in there i just followed the wizard to the end.

thanks so much for your help
studio 07 Aug, 2008
SOLVED: I was creating each email field in a separate email!

I didnt realise that you have the ability to create more than one email from the form.
I just clicked new email for each field, and had each of the four fieds inside a separate red box.

Now i have them all in the same box and it turned green when i added the fourth one.

thanks so much for your prompt reply earlier, the component does exactly what i want it to do now with my dynamic from email.
This topic is locked and no more replies can be posted.