When I use the default settings, the email message has my regular expressions spam blocker, the date submitted and the IP address. It does not contain the form fields that were not filled out.
If I configure the email message myself using [name], [address] ,etc. I can make my message not have the regular expressions spam blocker, the date submitted and the IP address. However, it will list all the form fields, including those that were not filled out.
What is the easiest way to make the email message only show the form fields that were filled out and not show my regular expressions spam blocker, the date submitted and the IP address?
If I just want to delete the date submitted and the IP address, it looks like I could just go into messagepostmerger.cls.php and delete lines 132 and 133. Is that correct? At this point, I have only one form loaded and it is on my own server. When I create new forms and load them on my server, would I have to keep changing the messagepostmerger.cls.php?
And how would I go about not having my regular expressions spam blocker appear in the email? I am fine with using the same regular expressions spam blocker on all the forms.
If I configure the email message myself using [name], [address] ,etc. I can make my message not have the regular expressions spam blocker, the date submitted and the IP address. However, it will list all the form fields, including those that were not filled out.
What is the easiest way to make the email message only show the form fields that were filled out and not show my regular expressions spam blocker, the date submitted and the IP address?
If I just want to delete the date submitted and the IP address, it looks like I could just go into messagepostmerger.cls.php and delete lines 132 and 133. Is that correct? At this point, I have only one form loaded and it is on my own server. When I create new forms and load them on my server, would I have to keep changing the messagepostmerger.cls.php?
And how would I go about not having my regular expressions spam blocker appear in the email? I am fine with using the same regular expressions spam blocker on all the forms.
Are you using conditionals on your form? Any fields that you want submitted have to be showing at the click of the submit button.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
No, there are no conditionals on this form.
I actually think this is the correct logic. If the field is blank you don't want the field to be submitted. If you need it, require them to enter something.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
The two fields are more like comments and not everyone has a comment. If they don't have a comment, I would prefer for the question to not show on the email message.
Are you using the original [_form_results_] in the email?
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
I don't believe you can do this with the software at all. You would most likely have to do your own script addition in order to accomplish that. The way the software is setup, all fields that are "visible" at any time during the process of submitting a form will be visible in the email message. If you don't want the message part to show then the only thing I can think of to "try" is to make that message field conditional upon an Yes/No radio button where you can ask something like "do you have any comments to pass on to us?". Have the message box conditional on the Yes answer and that way if they choose No, you shouldn't get that field in the email. (this is theoretically of course so if it doesn't work, then it's my fault for assuming it should)
Let us know if that works for you or not.

I tested it on one of my forms JoAnn and it doesn't send the empty fields for me.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
Perhaps I wasn't clear in my explanation.
Using [form_results], the email message:
does not show any questions unless an answer was given
does show my regular expressions spam blocker
does show the date submitted
does show the IP address
If I configure the email message myself using [name], [address] ,etc, the email message:
does show all questions, whether there is an answer or not
does not show my regular expressions spam blocker
does not show the date submitted
does not show the IP address
What I want in the email to do:
not show any questions unless an answer was given
not show my regular expressions spam blocker
not show the date submitted
not show the IP address
I think I figured out how to have the date submitted and IP address not show in the email response. I found the "definition" of form_results in messagepostmerger.cls.php. If I just want to delete the date submitted and the IP address, it looks like I could just go into messagepostmerger.cls.php and delete lines 132 and 133. Is that correct? At this point, I have only one form loaded and it is on my own server. When I create new forms and load them on my server, would I have to keep changing the messagepostmerger.cls.php? Meaning does each form that I load onto my server also have me load a new version of the messagepostmerger.cls.php, which would actually be the default version of the file that contacts the date submitted and IP address?
Using [form_results], the email message:
does not show any questions unless an answer was given
does show my regular expressions spam blocker
does show the date submitted
does show the IP address
If I configure the email message myself using [name], [address] ,etc, the email message:
does show all questions, whether there is an answer or not
does not show my regular expressions spam blocker
does not show the date submitted
does not show the IP address
What I want in the email to do:
not show any questions unless an answer was given
not show my regular expressions spam blocker
not show the date submitted
not show the IP address
I think I figured out how to have the date submitted and IP address not show in the email response. I found the "definition" of form_results in messagepostmerger.cls.php. If I just want to delete the date submitted and the IP address, it looks like I could just go into messagepostmerger.cls.php and delete lines 132 and 133. Is that correct? At this point, I have only one form loaded and it is on my own server. When I create new forms and load them on my server, would I have to keep changing the messagepostmerger.cls.php? Meaning does each form that I load onto my server also have me load a new version of the messagepostmerger.cls.php, which would actually be the default version of the file that contacts the date submitted and IP address?
Any alterations made to the scripts need to be done for each form.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.