• 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: Display date on email feedback and not on front en

Display date on email feedback and not on front en 11 years 2 weeks ago #27729

  • Romuba
  • Romuba's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 15
I have a form that I don't want a date to display on but when the form is submitted I want todays date to be recorded and this to be able to display on the email to Admins.

I have tried adding a Hidden field with the following code but it displays on the front and not on the email:
//<code>
$today = date("j F Y");
PRINT "$today";
//</code>
Ross Bartholomew
The administrator has disabled public write access.

Display date on email feedback and not on front en 11 years 2 weeks ago #27730

  • cosmin.cristea
  • cosmin.cristea's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 756
  • Thank you received: 144
A much simpler solution would be to use the global placeholder for the date the user submitted the form {global:date_added}.
To customise the date format go to Components > RSForm! Pro > Configuration > "Date Mask (for Date Submitted)" (Settings tab)

More information about placeholders and configuration
My help is not official customer support. To receive your support, submit a ticket by clicking here
The administrator has disabled public write access.
The following user(s) said Thank You: Nortonx, Romuba

Display date on email feedback and not on front en 11 years 2 weeks ago #27734

  • Romuba
  • Romuba's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 15
Perfect. Solved my problem immediately.
Ross Bartholomew
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!