Hi Alistair,
That validation set up looks OK - what validations do you have enabled in your form? Are you checking for empty fields?
Bob
Hi Alistair,
Sorry but the screenshots don't add much. If that's OK the simplest answer is for you to upload a form backup here so we can take a closer look.
Bob
I can upload another form if this one is not suitable.
This is v6.1 ? if yes then remove the "Validate fields", set any of your form fields as Required then turn on the "Enable Server validations" setting under the form settings!
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
In v6.1 the "Validate fields" action is redundant, only needed for advanced setup!
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Hi Alistair,
You remove the action with the X icon to the right. I don't know if that will fix your empty email problem but it should get your validation working correctly.
Bob
Hi, wasn't the empty fileds issue (receiving email without body text) a consequence of an incorrect server validation? I have now removed that "Validate Fields" action but the emails still come without any text, even though I set the fields in the form as mandatory.
Did you try to add a security field to the form ?
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
No I haven't. What would it change, is it really necessary? I'm asking because this is not about spam, because the empty body emails are not necessarily from spammers, on the contrary most of them are genuine users who properly filled the mandatory fields, and I receive empty emails instead. So what I do is just reply to their email saying that for some reason their email came empty, they then confirm they did fill in all the fields (some even apologise thinking it's their fault), and we go from there..
To receive spam every now and then I don't mind, as long as all fields that the spammers (and non spamemrs) fill up are parsed properly and received by me.
Ok, I did not understand that the problem is empty emails
Could you please post a screenshot of your email body setup ?
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Hi, not sure what you mean by email body setup, I had the full form backup uploaded here for a while then had it deleted as it wasn't of help to sort out this issue. I'm attaching some screenshots hopefully it's what you intended. While in the very first post of this thread you see the kind of empty emails I receive. [file=12926]Screenshot_20200420-193304.png[/file]
[file=12927]Screenshot_20200420-193141.png[/file]
[file=12928]PhotoGrid_1587404468468.jpg[/file]
No, I need to check inside the Email action please!
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Hi Alistair,
That should work, I'm not sure why it does not, is it okay for you to download v7 beta and try a quick form ? it's straight forward, you just need to add the fields and write the labels!
Otherwise you can send me a link to the form on PM
Best regards
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Hello.
Same problem here. The form stopped working. I didn't modify the form, neither the hosting environment. I can't understand what happened and it makes me mad.
Datas are correctly stored in database but email is empty. As i send a copy to customers, the receive an empty one and then call to verify I have the informations.
The autofill (Auto Content : include Email enabled fields) ) doesn't work anymore. I have to fill the Body field to make it work :
{data:name}, {data:email} ans so on.
Can't figure out why all this happened...😟
Your email body area is empty or has any content ? if its not empty please make sure that you have {AUTO_FIELDS} in the body box
Let us know!
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
My email body should contain some simple HTML (Hello, and so on...) and the datas.
It is delivered with HTML only. No datas. I noticed the {AUTO_FIELDS} solution, above the editor. I tried it, but with no success.
Regards.
So what is the HTML code you have in the email body box now ? please disable the editor in the Email action and copy/paste the code here and hide any private data!
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Here is the full code I have now:
<p><strong>Contact Form</strong></p>
<p>Informations envoyées par {data:name}</p>
<p>email : {data:email}</p>
<p>Pays : {data:country}</p>
<p>N° de téléphone : {data:phone}</p>
<p>Message de {data:name} : {data:message}</p>
Previously, I had:
<p><strong>Contact Form</strong></p><p>Informations envoyées par {data:name}</p>
<p></p>{AUTO_FIELDS}
So {AUTO_FIELDS} should be replaced by the list of email fields if everything is setup correctly.
Best regards
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
I made a small mistake in HTML code above
it has to be
<p>{AUTO_FIELDS}</p>
of course.
Anyway, I did replace this shortcode allready.
I posted here because I was wondering why the auto-fill suddently stopped working.
Thank you. Best regards.
Does it work if you clear the body box completely ?
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Hi Alistair,
You can delete the action by clicking the red 'x' icon at the right.
Bob
It's not a matter of content, I guess.
The error triggered randomly. Some forms arrived correctly (HTML + datas) , and some arrived with no data. Tested with several browsers (cache cleared or not).
10 tests : a new notice message on Chromium, 4th test : "Notice Empty message body". There is a non-mandatory Message field in the form. Each further test failed with Chromium.
But every test worked if I clear the box and if I add auto-fill fields, except those with this error above.
When I write back the html, and disable auto-fill, the form is correctly sent ! Even on Chromium
No comprendo nothing😟
Ok, I would recommend that you keep using whatever working option for now until the new v7 is stable!
Best regards
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
This is also my conclusion😉
Thank you, Max, for the time spent.
Best regards.
Going back to my issues (end of page 1 of this thread), I tried setting "send as text" instead of html and the body seems to be parsing correctly (except of course it's a mess to read since there's code around..).
As suggested by GreyHead, I tried deleting the body completely, and the emails seems to be arriving fine now (at least no empty emails recently), so the issue is a parsing one when the body has some text in it. Maybe not even anything to do with Chronoforms at all.