Forums

{AUTO_FIELDS} empty

jabba 17 Jul, 2017
Hello! I'm having a strange behaviour. I have a form that 99% time works and {AUTO_FIELDS} is populated in the sent email.
But sometimes i get the form with written in it {AUTO_FIELDS} (it seems that the system did not see it and just "write" it without putting the fileds instead).
What can generate this problem? Spam? Random errors? Cache? Is there a log somewhere of the sent forms?

Questione 2: how can i pass the Country via the Paypal submit?

Thank you
Gianluca
jabba 17 Jul, 2017
Ok, found the problem... with Chrome and Internet Explorer {AUTO_FIELDS} remains {AUTO_FIELDS}... with other browsers (firefox, Edge) {AUTO_FIELDS} is correctly replaced with the fields...
jabba 17 Jul, 2017
Ok after more investigation things are a bit more complicated. Joomla has the ability to add the ".html" at the end of the URL as SEO option. But the website works anyway if you don't use it.
I mean www.website.com/page.html and www.website.com/page is the same for joomla.
Thing is that the form fill the auto_fields only if the page has the .html
If I send the form from www.website.com/page then AUTO_FIELDS is empty.
Is there a way to fix this? Or force .html in the website? Thank you
Gianluca
Max_admin 18 Jul, 2017
Hi Gianluca,

Are you sure that the string is saved correctly without any hidden characters by the editor ? there is no reason for this to happen unless the user session is reset when the form is sent, can you login to the website then remove the
.html and test the form ?

Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
jabba 18 Jul, 2017
Removing the .html form joomla control panel don't work. Still have problems from Chrome. But i've made more tests and see that {data:something} is filled correctly. The mail that arrives is:

-------

Autofields:

{AUTO_FIELDS}

here are the data from {data : field}

Name
Surname
Mail
Phone
...

--------

I can change the template and use the {data:name} and solve the problem, but don't know why Autofields are not filled🙂
Thank you!

Gianluca
Max_admin 18 Jul, 2017
Hi Gianluca,

Do you have email body editor enabled ? if yes then please try to disable it and make sure that there are no hidden html tags included ?

Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
jabba 19 Jul, 2017
Hello Max, editor is disabled. Attached you will find the screen of the mail.

While here i ask you another thing about paypal submit. How can i pass the country and the language? My website is italian and the paypal page that opens is in english with United States selected... is there a way to add those parameters?
Thank you!
Max_admin 19 Jul, 2017
Hi jabba,

o how do you test this ? you open the form page without ".html" in the url and that breaks the auto fields after the form is submitted ?

Regarding the country and language of paypal, please send me a message using the contact page and I will send you a modified version of the paypal action with those parameters after I get it ready.

Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
jabba 19 Jul, 2017
Yes, try it with your phone & chrome. Choose the option you want (and cancel when you get to paypal page so you don't have to pay anything🙂 ). You will receive a mail and i will send you the mail that i, as admin, recevie.

Thank you!

This is private content

Max_admin 19 Jul, 2017
Hi Gianluca,

Please login to the website then do this process, after you return to the website after PayPal cancellation, are you still logged in ? or you have been logged out ?

Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.