Forums

Form does not send

JWE 12 Mar, 2015
Hi there,

When I click on submit, the form does not send - nothing happens.
I have filled in the details in Settings.
How do I fix this please.
fasenderos 13 Mar, 2015
Be more specific...what's your On Submit setup? Use debbuger both On Load and On Submit to understand what's going on
GreyHead 13 Mar, 2015
Hi JWE,

Where is your form shown? Does it work from the Test Form icon in the Form editor?

Bob
JWE 15 Mar, 2015
Hi bob,

I seem to get an Array error when I test the form - as follows:

Data Array

Array
(
    [option] => com_chronoforms5
    [chronoform] => ContactUs
    [event] => submit
    [ActNo] => s123
    [text2] => wedding
    [datepicker5] => 31-03-2015
    [text6] => 100
    [dropdown8] => $500
    [text7] => slavica
    [text9] => slavica.trudinger@gmail.com
    [text10] => 00000000000
    [text11] => nsw
    [textarea12] => test
    [captcha] => 
    [button14] => Submit
    [ip_address] => 139.216.83.246
)

Array
(
)

Errors

Array
(
)

Debug Info

Array
(
    [4] => Array
        (
            [Email] => Array
                (
                    [0] => An email with the details below was sent successfully:
                    [1] => To:admin@emtertainersforhire.com.au
                    [2] => Subject:Entertainers For Hire - Contact Us
                    [3] => From name:Entertainers For Hire
                    [4] => From email:admin@entertainersforhire.com.au
                    [5] => CC:
                    [6] => BCC:
                    [7] => Reply name:
                    [8] => Reply email:
                    [9] => Attachments:
                    [10] => Body:
<table>
<tr><td>Act No:</td><td>s123</td></tr>
<tr><td>Type of Event:</td><td>wedding</td></tr>
<tr><td>Event Suburb:</td><td>wedding</td></tr>
<tr><td>Date of Event:</td><td>31-03-2015</td></tr>
<tr><td>No. of Guests</td><td>100</td></tr>
<tr><td>Budget:</td><td>$500</td></tr>
<tr><td>Name:</td><td>slavica</td></tr>
<tr><td>Email</td><td>slavica.trudinger@gmail.com</td></tr>
<tr><td>Phone:</td><td>00000000000</td></tr>
<tr><td>State:</td><td>nsw</td></tr>
<tr><td>Enquiry:</td><td>test</td></tr>
<tr><td>Enter the code:</td><td></td></tr>
<tr><td></td><td></td></tr>
</table><br /><br />IP: 139.216.83.246
                )

        )

)
GreyHead 16 Mar, 2015
Hi JWE,

No - you just have an empty Errors array as no errors were found (yes it can be confusing).

You have the To and From Email addresses the same, some mail servers, particularly GMail will drop any emails like this. Please try changing the From address to e.g. info@. . .

Bob
JWE 18 Mar, 2015
Hi Bob,

I have changed the above as requested, however, the form still will not submit (frontend).
When I test the form (backend) - it seems to send the form.
Here is the link to the form: http://www.entertainersforhire.com.au/contact-us

This is what I'm getting:

Data Array

Array
(
    [option] => com_chronoforms5
    [chronoform] => ContactUs
    [event] => submit
    [ActNo] => s123
    [text2] => point cook
    [datepicker5] => 31-03-2015
    [text6] => 123
    [dropdown8] => $500
    [text7] => slavica
    [text9] => slavica.trudinger@gmail.com
    [text10] => 00000000000
    [text11] => vic
    [textarea12] => testing form again
    [captcha] => 
    [button14] => Submit
    [ip_address] => 123.3.214.43
)

Array
(
)

Errors

Array
(
)

Debug Info

Array
(
    [4] => Array
        (
            [Email] => Array
                (
                    [0] => An email with the details below was sent successfully:
                    [1] => To:justweddingentertainment@gmail.com
                    [2] => Subject:Entertainers For Hire - Contact Us
                    [3] => From name:Entertainers For Hire
                    [4] => From email:admin@entertainersforhire.com.au
                    [5] => CC:
                    [6] => BCC:
                    [7] => Reply name:
                    [8] => Reply email:
                    [9] => Attachments:
                    [10] => Body:
<table>
<tr><td>Act No:</td><td>s123</td></tr>
<tr><td>Type of Event:</td><td>point cook</td></tr>
<tr><td>Event Suburb:</td><td>point cook</td></tr>
<tr><td>Date of Event:</td><td>31-03-2015</td></tr>
<tr><td>No. of Guests</td><td>123</td></tr>
<tr><td>Budget:</td><td>$500</td></tr>
<tr><td>Name:</td><td>slavica</td></tr>
<tr><td>Email</td><td>slavica.trudinger@gmail.com</td></tr>
<tr><td>Phone:</td><td>00000000000</td></tr>
<tr><td>State:</td><td>vic</td></tr>
<tr><td>Enquiry:</td><td>testing form again</td></tr>
<tr><td>Enter the code:</td><td></td></tr>
<tr><td></td><td></td></tr>
</table><br /><br />IP: 123.3.214.43
                )

        )

)

GreyHead 18 Mar, 2015
Hi JWE,

On the link you posted there are two problems. One is that the form is inside <p> tags which means that it will not work in some versions of IE (it's illegal HTML and IE checks). The second is that there it a problem with SEF URLs, please set Relative URL to No in the form HTML (Render form) action.

If I go to the Test Form link then the form submits but I don't receive an email (not so far). Please upgrade to the latest release of CFv5.0.9 which I hear has some new Email diagnostics.

Bob
JWE 19 Mar, 2015
Hi Bob,

I have installed the update and set the relative URL to "No" in the form HTML (Render form), but the form still won't submit.

This is the current issue? Any idea how to fix this ~ thanks in advance!

Data Array

Array
(
    [chronoform] => Contact
    [event] => submit
    [text] => 12
    [text2] => wedding
    [text3] => p
    [text4] => 12
    [dropdown5] => over $5000
    [text6] => slav
    [text7] => slavica@smps.com
    [text8] => 00000000000
    [text9] => nsw
    [textarea10] => enquiry
    [captcha] => 
    [button12] => Submit
    [ip_address] => 123.3.219.124
)

Array
(
)

Errors

Array
(
)

Debug Info

Array
(
    [3] => Array
        (
            [Email] => Array
                (
                    [0] => An email with the details below was sent successfully:
                    [1] => To:justweddingentertainment@gmail.com
                    [2] => Subject:Entertainers For Hire - Contact Us
                    [3] => From name:Entertainers For Hire
                    [4] => From email:admin@entertainersforhire.com.au
                    [5] => CC:
                    [6] => BCC:
                    [7] => Reply name:
                    [8] => Reply email:
                    [9] => Attachments:
                    [10] => Array
                        (
                        )

                    [11] => Body:
<table>
<tr><td>Act No:</td><td>{Act No:}</td></tr>
<tr><td>Type of Event:</td><td>wedding</td></tr>
<tr><td>Event Suburb:</td><td>p</td></tr>
<tr><td>No. of Guests:</td><td>12</td></tr>
<tr><td>Budget:</td><td>over $5000</td></tr>
<tr><td>Name:</td><td>slav</td></tr>
<tr><td>Email:</td><td>slavica@smps.com</td></tr>
<tr><td>Phone:</td><td>00000000000</td></tr>
<tr><td>State:</td><td>nsw</td></tr>
<tr><td>Enquiry:</td><td>enquiry</td></tr>
<tr><td>Enter the code:</td><td></td></tr>
<tr><td></td><td></td></tr>
</table><br /><br />IP: 123.3.219.124
                )

        )

)
GreyHead 19 Mar, 2015
Hi JWE,

I checked the form and it''s submitting OK from here and is reporting an Email successfully sent. Have you checked the GMail spam folder?

Bob
JWE 20 Mar, 2015
Hi Bob,

Yes, you are right the form does sent. However, after the form is sent it displays this code on the page, which I really do not want the clients to see. I would rather they just see the Thank You message.

Thanks in advance for your help.

Data Array

Array
(
[chronoform] => Contact
[event] => submit
[text] => 12
[text2] => wedding
[text3] => p
[text4] => 12
[dropdown5] => over $5000
[text6] => slav
[text7] => slavica@smps.com
[text8] => 00000000000
[text9] => vic
[textarea10] => testing form
[captcha] =>
[button12] => Submit
[ip_address] => 123.3.223.112
)

Array
(
)

Errors

Array
(
)

Debug Info

Array
(
[3] => Array
(
[Email] => Array
(
[0] => An email with the details below was sent successfully:
[1] => To:justweddingentertainment@gmail.com
[2] => Subject:Entertainers For Hire - Contact Us
[3] => From name:Entertainers For Hire
[4] => From email:admin@entertainersforhire.com.au
[5] => CC:
[6] => BCC:
[7] => Reply name:
[8] => Reply email:
[9] => Attachments:
[10] => Array
(
)

[11] => Body:
<table>
<tr><td>Act No:</td><td>{Act No:}</td></tr>
<tr><td>Type of Event:</td><td>wedding</td></tr>
<tr><td>Event Suburb:</td><td>p</td></tr>
<tr><td>No. of Guests:</td><td>12</td></tr>
<tr><td>Budget:</td><td>over $5000</td></tr>
<tr><td>Name:</td><td>slav</td></tr>
<tr><td>Email:</td><td>slavica@smps.com</td></tr>
<tr><td>Phone:</td><td>00000000000</td></tr>
<tr><td>State:</td><td>vic</td></tr>
<tr><td>Enquiry:</td><td>testing form</td></tr>
<tr><td>Enter the code:</td><td></td></tr>
<tr><td></td><td></td></tr>
</table><br /><br />IP: 123.3.223.112
)

)

)
GreyHead 20 Mar, 2015
Hi JWE,

Please disable or delete the Debugger action.

Bob
JWE 20 Mar, 2015
Perfect!! Thank you🙂
This topic is locked and no more replies can be posted.