Welcome, Guest
  • Page:
  • 1
  • 2

TOPIC: Insert Current Date & Time to automatically

Insert Current Date & Time to automatically 5 years 3 months ago #63144


  • Posts:185 Thank you received: 3
  • pratam02's Avatar
  • pratam02
  • Gold Boarder
  • Offline
  • Karma: 0
Hi All,


If i want to create any new record then in particular text field date & time should be filled automatically while loading a form for creation.

any possibilities.

Praveen
Thanks & Regards
Praveen
Bangalore
India
The administrator has disabled public write access.

Re: Insert Current Date & Time to automatically 5 years 3 months ago #63205


  • Posts:7306 Thank you received: 531
  • TheMuffinMan's Avatar
  • TheMuffinMan
  • Moderator
  • Online
  • Karma: 136
Hi,

BreezingForms or built-in forms from ContentBuilder?

Regards,
Markus
===============================================
Need to renew Pro Support?
Buy Here!
===============================================
Satisfied?
Consider a membership!
===============================================
Like us on Facebook
===============================================
Follow us on Twitter
===============================================
The administrator has disabled public write access.

Re: Insert Current Date & Time to automatically 5 years 3 months ago #63226


  • Posts:185 Thank you received: 3
  • pratam02's Avatar
  • pratam02
  • Gold Boarder
  • Offline
  • Karma: 0
Ok

I need for both.

thanks
Praveen
Thanks & Regards
Praveen
Bangalore
India
The administrator has disabled public write access.

Re: Insert Current Date & Time to automatically 5 years 3 months ago #63675


  • Posts:7306 Thank you received: 531
  • TheMuffinMan's Avatar
  • TheMuffinMan
  • Moderator
  • Online
  • Karma: 136
Hi,

for BF, add something like this into the value field of the element's setup
<?php return date('Y-m-d');?>

For CB, this functionality is not yet built-in (though for lists it is). Let me do it today quickly, had to update the site and didn't have much time over the weekend.

Regards,
Markus
===============================================
Need to renew Pro Support?
Buy Here!
===============================================
Satisfied?
Consider a membership!
===============================================
Like us on Facebook
===============================================
Follow us on Twitter
===============================================
The administrator has disabled public write access.

Re: Insert Current Date & Time to automatically 4 years 11 months ago #70122


  • Posts:64 Thank you received: 1
  • hockey2112's Avatar
  • hockey2112
  • Senior Boarder
  • Offline
  • Karma: 0
This isn't working for me. When I copy/paste "<?php return date('Y-m-d');?>" into the value for a "text field" object, it literally shows that code (and not the date itself). How can I get this to work?
The administrator has disabled public write access.

Re: Insert Current Date & Time to automatically 4 years 11 months ago #70449


  • Posts:2188 Thank you received: 208
  • Syno's Avatar
  • Syno
  • Administrator
  • Offline
  • Karma: 3
Hello,

which mode do you use in Breezingforms.

The code Markus provided only works in quickmode.


Regards,
Syno
===============================================
Satisfied?
Consider a membership!
===============================================
Like us on Facebook
===============================================
Follow us on Twitter
===============================================
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: ForumSupport, pedro81, tomeperica
Time to create page: 0.074 seconds

News and Updates

Get informed about new downloads, updates and more in our News and Updates newsletter.

New extension AnalyticsAnywhere released!

Track website visitors no matter if ad blockers are enabled! Check it out!

Lifetime Subscription

Special Offer! Get lifetime access to all of our current and future products and 2 years of professional support -- 149 for only 70!

No support per domain or website installation limits! Includes all of our current and future Joomla!® extensions, WordPress® plugins, Joomla!® templates   this means, by purchasing a Lifetime Subscription you'll have it all covered!

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our 1-Year or Lifetime Subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!

Pro Support Renewal Plans

If you just need professional support and no further access to downloads or simply want or need to renew professional support, you may choose between various support plans from here.