• 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: how to set a current date for a date (calendar) bo

how to set a current date for a date (calendar) bo 11 years 2 months ago #26664

  • trihead
  • trihead's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
Hi there

I am wondering how can I have default value for current date in a date field?

Thanks
The administrator has disabled public write access.

how to set a current date for a date (calendar) bo 11 years 2 months ago #26668

  • adrianp
  • adrianp's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 631
  • Thank you received: 146
Hello,

You can try using a similar script within the "Default value" area of the calendar field:
//<code>
return date('d.m.Y');
//</code>

More information on the RSForm!Pro calendar field can be found here:

www.rsjoomla.com/support/documentation/v...le/833-calendar.html
This is not official customer support. To receive your support, submit a support ticket here.
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!