Forums

dynamic name and email for subject, name and email coloumn.

geet123 24 Jul, 2013
hello bob sir,
i have problem regarding chronoform email and name. Actually i want to make it dynamic.
below text may explain you better.
Data Array:

Array
(
    [chronoform] => form_4
    [event] => submit
    [option] => com_chronoforms
    [view] => form
    [Itemid] => 1
    [input_text_1] => tester
    [input_text_2] => deepak@jeronone.com
    [input_text_3] => 12345
    [input_select_5] => JAPAN
    [input_text_4] => tester_subject
    [input_textarea_6] => tester_message
    [input_submit_7] => Submit
    [204992aab5ec8439d22652e6f25effe0] => 1
)

Validation Errors:

Array
(
)

Thankuo we will contact you soon.
Debug Data

    email
        1
            Result An email has been SENT successfully from (input_text_1)input_text_2 to deepak@jeronone.com,deepak@jeronone.com
            Body
            Name 	tester
            Email 	deepak@jeronone.com
            Phone No. 	12345
            Country 	JAPAN
            Subject 	tester_subject
            Message 	tester_message


            Submitted by 203.134.214.81
            Attachments array ( )
        2
            Result An email has been SENT successfully from (deepak)deepak@jeronone.com to deepak@jeronone.com
            Body
            Regards
            XLAutomation Support Team
            Name 	tester
            Email 	deepak@jeronone.com
            Phone No. 	12345
            Country 	JAPAN
            Subject 	tester_subject
            Message 	Thanks for contacting the XLAutomation Support team. We will respond to your enquiry within 24 hours
            Please contact us at support@xlautomation.com.au to follow up your enquiry.
            "tester_message"
            Attachments array ( )


As you can see in this i want two mails. One for User and other for admin. So the user's name and emailid should be dynamic. as above shows input_text_1 and input_text_2.This is working for dynamic to and dynamic to email. Why this is not working with simply name and email..please help..i'm, in big trouble.
geet123 24 Jul, 2013
and how i can make a email dynamic for subject. Is there is any hard code or some other action i need to install.
GreyHead 24 Jul, 2013
Hi geet123,

It looks as though you are not using the Dynamic Tab in the Email action for the Dynamic entries; also you should make sure that the From and To addresses are different.

Please see this FAQ and this FAQ.

Bob
geet123 24 Jul, 2013
hello bob sir,
This makes a way to do write thing. Thanks for your help. now this is working fine.
I also want a help regarding older version of joomla and chronoform. can i use chronoform v4 for joomla 1.5.14 in any way. Actually i know chronoform v4 is stable from joomla 1.5.19 as you described in your website. but i want to know if there is any way to do that. please help.
GreyHead 24 Jul, 2013
Hi geet123,

Please check the download area - I think that there is a version for Joomla! 1.5 still.

Bob
geet123 25 Jul, 2013
yes sir..thanks for your help..this is working now..one more help.. will this code work for chronoform v3.2.0.. and where i have to put it.

<?php
$form->data['subject'] = "Some text {$form->data['input_name']} some more text";
?>
geet123 25 Jul, 2013
one more thing..is their is any delay time in chronoform v3 so it takes too time to received emails.
GreyHead 26 Jul, 2013
Hi geet123,

No, there is no delay.

Bob
geet123 29 Jul, 2013
yeah dat was server problem..solved dat..because of some script conflict my mootools is not working fine with my site.so i made self validation for all fields. After that everything is working fine except upload file.You can see that in below attached file. Please have a look..and let me know how i can solve that..thanks sir once again for your help..
geet123 05 Aug, 2013
Hello bob sir..its me again..
i need a help regarding emails.
while submitting the form from chronoform. my outlook shows that email in inbox. and my gmail shows that email in spam. what kind of filter used in chronoform to filter email. is there is any.. ?
i basically used dynamic email setting for sending email to user. is that can be problem..please help...its urgent..

This is custom code that i have used in "custom code" action:-

<?php
$form->data['subject'] = "Contact Received from {$form->data['input_text_2']}";
?>
GreyHead 07 Aug, 2013
Hi geet,

Please see this FAQ

I strongly recommend that you do *not* use the Dynamic From Email element in your Email Setups. Using this often results in your emails being marked as spam and dropped into a spam filter. Instead use the static From Email with an address that matches the site domain name and use Dynamic ReplyTo Email for the user email. The result is the same but with a much better chance of good delivery.

I doubt that the subject has anything to do with this.

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