ChronoEngine.com homepage

Forums

Please write a review for the extension you are using on the Joomla extensions directory before posting a new question as we are being spammed by many negative reviews.

Thank you for your support!

{AUTO_FIELDS} not working

gasoline 12 Aug, 2019
I use latest chronoforms and my form works fine.
The {AUTO_FIELDS} is placed in email and works, but is does NOT on the website confirmation message. It displays {AUTO_FIELDS} instead of the actual data. I searched for hours but I can't find a solution.

If I use {data:fieldname} than I have no issues. Weird

Any idea ?
healyhatman 13 Aug, 2019
{section/template:eventname}
e.g.
{section/template:page2}
gasoline 13 Aug, 2019
HuH?

I don't work with section, one page only. Am I missing something?

I also see no bugs:
form
Array
(
    [option] => com_chronoforms6
    [cont] => manager
    [chronoform] => contactformulier
    [69a74f2ceada233b3346e2db0b3806b9] => 1550ea5e2a080c18ed0f14b1104f4fae
    [969e192a7b6665b7eabf458bf17ad7ed] => 0fb5a05729cb30bb75d785c61e7bb0e1
)
Array
(
)

result:



[h3]email6 Body[/h3]
Geachte xxxxxxxx,


Wij hebben onderstaande gegevens van u ontvangen en nemen spoedig contact met u op.

Naam *MrMStraat + huisnummerrozen3Postcode / Woonplaats0000vk zeistTelefoonnummer *02306666234E-mailadres *xxx@xxxx.nlOpmerkingen *asdfasd asdf asdf asdfs


xxxxxxx BV


Dr. xxxxx 11 B
xxxxx AK xxxxx, Utrecht
0346 - 555555
[h3]email3 Body[/h3]
Beste Pieter,

Onderstaand kopie formulier website dat is ingevuld.


Wij hebben onderstaande gegevens van u ontvangen en nemen spoedig contact met u op.




xxxxxxx.38
  • You didn't pass the NoCaptcha verification.
Geachte MrM,


Wij hebben onderstaande gegevens van u ontvangen en nemen spoedig
contact met u op. U ontvangt deze info ter bevestiging ook via email.


{AUTO_FIELDS}


xxxxxx

rozexxxxxn3

36666vk ffffff

023666666634

xx@xxxxxx.nl

asdfasd asdf asdf asdfs


Array
(
    [chronoform] => contactformulier
    [event] => submit
    [naam] => MrMa
    [straat_huisnummer] => xxxx
    [postcode_woonplaats] => xxxx bbbbbb
    [telefoonnummer] => xxxxxx
    [email] => xx@xxxxxxx.nl
    [message] => asdfasd asdf asdf asdfs
    [g-recaptcha-response] => 03AOLTBLQWUf6PQhdTWddW_C_lYhTOEqcEV9tyNdMNm-RO37fZwX7zgu_qoemZ6rFyxnK228OmHNAyVqRtk3MJyzb0AzNShV_iuEHEtl7tfNErScsr6GpBpvMkYfGUSWz1qtFxvWeGeowFWa6x1joJtiC4rFi5h_NnHVrFCE7b-Z1vlVUIkgxX4NnktPfFA4VaRTxI0k2jqvi4pPMlBcevs79kLGKD-ftzdZOHLgredcosGJNF5dINUao9sxcEHOrjVSCd0oKvMjTjWZlydbQbeRz0A9O6_nS2jbMfbnXLQ3yWq-aOUjdlja9CBpULJcfK6-HVoR1PgBZ2
    [button4] => 
    [69a74f2ceada233b3346e2db0b3806b9] => 1550ea5e2a080c18ed0f14b1104f4fae
    [969e192a7b6665b7eabf458bf17ad7ed] => 0fb5a05729cb30bb75d785c61e7bb0e1
    [Itemid] => 813
    [option] => com_chronoforms6
    [view] => form
)
Array
(
    [submit_google_nocaptcha] => Array
        (
            [response] => Array
                (
                    [success] => 1
                    [challenge_ts] => 2019-08-13T15:13:46Z
                    [hostname] => www.xxxxxxxxxx.nl
                )

            [_success] => De NoCaptcha verificatie was geslaagd. = succeded
            [var] => 1
        )

    [submit_validate_fields] => Array
        (
            [log] => Automatic validation enabled.
            [var] => 1
        )

    [google_nocaptcha5] => Array
        (
            [response] => Array
                (
                    [success] => 
                    [error-codes] => Array
                        (
                            [0] => timeout-or-duplicate
                        )

                )

            [_error] => De NoCaptcha verificatie is mislukt. = failed
            [var] => 
        )

    [email6] => Array
        (
            [recipients] => Array
                (
                    [0] => xxx@xxxxxxxx.nl
                )

            [subject] => Reactie via website xxxxx xxxxx
            [body] => <p>Geachte MrMxxx,</p>

<p>Wij hebben onderstaande gegevens van u ontvangen en nemen spoedig contact met u op.</p>

<p><table width="100%" cellpadding="5" cellspacing="3" border="0" class="ui table"><tr><td width="30%" valign="top" align="right"><strong>Naam *</strong></td><td width="70%" valign="top" align="left">MrMarcie</td></tr><tr><td width="30%" valign="top" align="right"><strong>Straat + huisnummer</strong></td><td width="70%" valign="top" align="left">rozen3</td></tr><tr><td width="30%" valign="top" align="right"><strong>Postcode / Woonplaats</strong></td><td width="70%" valign="top" align="left">3702vk zeist</td></tr><tr><td width="30%" valign="top" align="right"><strong>Telefoonnummer *</strong></td><td width="70%" valign="top" align="left">02308490234</td></tr><tr><td width="30%" valign="top" align="right"><strong>E-mailadres *</strong></td><td width="70%" valign="top" align="left">mac@pliester.nl</td></tr><tr><td width="30%" valign="top" align="right"><strong>Opmerkingen *</strong></td><td width="70%" valign="top" align="left">asdfasd asdf asdf asdfs</td></tr></table></p>
<hr>
<p><b>Pieter de Koning Tuinen BV</b></p>
xxxxxx

            [result] => de Email is met succes verstuurd.
            [var] => 1
        )

)






But I don't get the error on Google captcha, form is send anyway with no errors. First it says passed and a few lines later failed.
GreyHead 19 Aug, 2019
1 Likes
Hi Gasoline,

As you say the Google recaptcha is being checked twice and the second check is failing. The latest release does not require a check Recaptcha action, if you have one in your form please try removing it.

Bob
gasoline 19 Aug, 2019
Hi GreyHead,

From another greyhead😉, Thanks, that's clear. I will remove the captche check.

The newest version is awesome, much more simpler and clearer. Great job.
Only still don't get it why the {AUTO_FIELDS} is not working. But I can work around it.
healyhatman 19 Aug, 2019
Because it is not a proper shortcode it's only used in the email action. Use the code I gave you
gasoline 19 Aug, 2019
I see autofields is working in the e-mails and not in the 'message'. I don't understand your point so I just use the datafields for the message. Than it works at least as I want.
healyhatman 19 Aug, 2019
Exactly IT ONLY WORKS IN THE EMAILS
This topic is locked and no more replies can be posted.

2Checkout.com

2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for goods and services provided by ChronoEngine.com