How to format "_submitted_" - Post ID...
I am using Web Form Builder, along with Responsive Email Designer (RED) to generate a nicely formatted reply email, so I'm not sure which Forum this should go in. So, here goes.
What I would like to do is NOT use the _form_results_ variable in my email letter, as it includes the values for the person's IP address, which I wish not to display. I found it fairly simple to lay out my email letter with all the other variables which pertain to the response, except for one: "_submitted_".
I don't care about the "time", but would like to be able to write the date in long form, like "November 25th, 2015", instead of a string of numbers, "2015-11-25". Is there a way to better format the date, plus eliminate the time?
What I would like to do is NOT use the _form_results_ variable in my email letter, as it includes the values for the person's IP address, which I wish not to display. I found it fairly simple to lay out my email letter with all the other variables which pertain to the response, except for one: "_submitted_".
I don't care about the "time", but would like to be able to write the date in long form, like "November 25th, 2015", instead of a string of numbers, "2015-11-25". Is there a way to better format the date, plus eliminate the time?
There's a couple of ways to do this. One way is to hide an input with some css and use a simple php script to fill the current date so it gets submitted. You could also hack to form builders files.
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
@Eric...
You always come up with creative and interesting ideas! However, I was hoping for a simpler solution (of course!).
Instead of the actual submitted date, I would be just as happy with today's date, since the reply email literally gets generated milliseconds after the 'Submit' button is pushed. in essence then, these two dates would be the same.
So, if we could think along the lines of a reply email taking on the general appearance of a letter, then it would contain something like:
|---- Address block ----|
[date] (or [today] ) <--- This is where I'd have the date automatically entered, as Mail Merge does, for example
Dear [name],
|---- Body of email message ----|
So, I guess what I'm asking, is there such a thing as a 'date' or 'today' variable I can use, in either WFB, or RED?
Thanks
You always come up with creative and interesting ideas! However, I was hoping for a simpler solution (of course!).
Instead of the actual submitted date, I would be just as happy with today's date, since the reply email literally gets generated milliseconds after the 'Submit' button is pushed. in essence then, these two dates would be the same.
So, if we could think along the lines of a reply email taking on the general appearance of a letter, then it would contain something like:
|---- Address block ----|
[date] (or [today] ) <--- This is where I'd have the date automatically entered, as Mail Merge does, for example
Dear [name],
|---- Body of email message ----|
So, I guess what I'm asking, is there such a thing as a 'date' or 'today' variable I can use, in either WFB, or RED?
Thanks
With php it's as simple as
<?php echo date('m/d/Y'); ?>
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
Good stuff... I'll try that!
Thanks.
Thanks.
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.