• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Include a "current date" in the pdf's

Include a "current date" in the pdf's 10 years 2 months ago #30560

  • rambro
  • rambro's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 7
Hi all,

I have created an RSFormPro. After the user fills out the form, I am sending confirmation emails and a pdf file showing them what they have filled in on the form. I am sending a pdf to both the user and the admin. In the pdf for both the user and admin. I want to include a "current date" that the form was created. Any suggestions on how I can do this.

I have tried to use this code in the html file for the user and admin emails:

<?php
echo date("m/d/Y") . "<br><br>";
?>

However, I am thinking I have to put this in either the

php emails section of the form

or the

PHP pdf pre-processing scripts.

My ulitmate goal is have the document look like a letter with a current date.

Any suggestions? I would appreciate your help in the matter.

P.S. I would like to put the current date right after our logo and address, but will accept it going at the very beginning of the letter.

Rick Ambrosino
The administrator has disabled public write access.

Include a "current date" in the pdf's 10 years 2 months ago #30564

  • rambro
  • rambro's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 7
I think I figured it out by using the global function: {global:date_added}
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!