Forums

name & email fields from the form as name & email froms

thefrobel 05 Aug, 2015
Is it possible to have the name and emails supplied in the form be the from name and from email for the email that is generated when a form is submitted?
thefrobel 05 Aug, 2015
I tired the form fields names in just about every location on the email setup tabs, and not luck.
The email I get still says Root User as the name and root@localhost.com
GreyHead 06 Aug, 2015
Hi thefrobel,

Use the Dynamic Reply To Name and Reply To Email boxes.

Bob

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.
thefrobel 06 Aug, 2015
I'm just testing this and they are being sent to my email address, and regardless of where I put the form id names, the emails always come through has from: root user from email: root@localhost.com.

Also, it seems that the file submission are also not transmitting.
GreyHead 06 Aug, 2015
Hi thefrobel,

Please drag a Debugger action into the On Submit event, then submit the form and post the debug - including the 'dummy emails' results here.

Note: if you are using the Easy Wizard you can turn on Debug on the Others tab in CFv4 or the Setup tab in CFv5.

Bob
thefrobel 10 Aug, 2015
The only thing I could find that even remotely came close to what you were describing was an option under setup>debug to turn on the debugger. Is this what you mean?
thefrobel 10 Aug, 2015
Data Array

Array
(
    [option] => com_chronoforms5
    [chronoform] => request_quote
    [event] => submit
    [name] => test
    [email] => test@test.com
    [address] => 41 test center
    [request] => 0
    [info] => test
    [captcha] => sjh4m
    [submit1] => Submit
    [ip_address] => 24.91.160.15
)

Array
(
)

Errors

Array
(
)

Debug Info

Array
(
    [1] => Array
        (
            [Email] => Array
                (
                    [0] => An email with the details below was sent successfully:
                    [1] => To:dr.frobel@frobtek.com
                    [2] => Subject:New Quote Request
                    [3] => From name:
                    [4] => From email:
                    [5] => CC:
                    [6] => BCC:
                    [7] => Reply name:name
                    [8] => Reply email:email
                    [9] => Attachments:
                    [10] => Array
                        (
                        )

                    [11] => Body:
<table>
<tr><td>Name</td><td>test</td></tr>
<tr><td>Email</td><td>test@test.com</td></tr>
<tr><td>Address</td><td>41 test center</td></tr>
<tr><td>Requesting:</td><td>0</td></tr>
<tr><td>Information of note about the tank and surrounding area:</td><td>test</td></tr>
<tr><td>Tank  - Front / Side</td><td></td></tr>
<tr><td>Fill Pipes</td><td></td></tr>
<tr><td>Room Access</td><td></td></tr>
<tr><td>Fuel Gage</td><td></td></tr>
</table><br /><br />IP: 24.91.160.15
                )

        )

)
thefrobel 10 Aug, 2015
It looks like the images aren't even being submitted as part of the array data.
GreyHead 10 Aug, 2015
Hi thefrobel,

I don't see any evidence of file uploads or images here?

For the Reply To Name and Email settings you need to use the Dynamic tab in the Email action to add the input names.

Bob
thefrobel 10 Aug, 2015
[IMG]http://i59.tinypic.com/29gos47.png[/IMG]

[IMG]http://i58.tinypic.com/5etrvl.png[/IMG]

[IMG]http://i59.tinypic.com/xok294.png[/IMG]

Can't get images to come through. email still shows up as Root user and root@localhost.com
Not sure what else I have to do.
GreyHead 11 Aug, 2015
Hi thefrobel,

The Dynamic boxes take a form input name with no quotes or brackets e.g. name

The other (Static) boxes take plain text values, not input names e.g. John Smith

Bob
thefrobel 11 Aug, 2015
ok. I still don't get why none of the images are coming through.
GreyHead 11 Aug, 2015
Hi thefrobel,

What images? I don't see any sign of any images, file uploads, etc in your form data here.

Bob
thefrobel 11 Aug, 2015
As you can see in the 1st picture, I have 4 image input boxes.
They are not coming through when the post is submit.
That's what I'm trying to figure out.
GreyHead 11 Aug, 2015
Hi froebel,

Sorry, I missed those :-( and they don't show in the Debugger output.

Do you have the form Action in the HTML (Render form) action set to File?

Do you have an Upload Files action in the form On Submit event?

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