Welcome, Guest

Insert Current Date & Time to automatically
(1 viewing) (1) Guest
  • Page:
  • 1
  • 2

TOPIC: Insert Current Date & Time to automatically

Insert Current Date & Time to automatically 1 year, 6 months ago #63144

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
  • pratam02
  • OFFLINE
  • Gold Boarder
  • Posts: 175
  • Karma: 0
Thanks & Regards
Praveen
Bangalore
India

Re: Insert Current Date & Time to automatically 1 year, 6 months ago #63205

Hi,

BreezingForms or built-in forms from ContentBuilder?

Regards,
Markus
===============================================
Satisfied?
Consider a membership!
===============================================
Like us on Facebook
===============================================
Follow us on Twitter
===============================================

Re: Insert Current Date & Time to automatically 1 year, 6 months ago #63226

Ok

I need for both.

thanks
Praveen
  • pratam02
  • OFFLINE
  • Gold Boarder
  • Posts: 175
  • Karma: 0
Thanks & Regards
Praveen
Bangalore
India

Re: Insert Current Date & Time to automatically 1 year, 6 months ago #63675

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
===============================================
Satisfied?
Consider a membership!
===============================================
Like us on Facebook
===============================================
Follow us on Twitter
===============================================

Re: Insert Current Date & Time to automatically 1 year, 2 months ago #70122

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?
  • hockey2112
  • OFFLINE
  • Senior Boarder
  • Posts: 64
  • Karma: 0

Re: Insert Current Date & Time to automatically 1 year, 2 months ago #70449

Hello,

which mode do you use in Breezingforms.

The code Markus provided only works in quickmode.


Regards,
Syno
  • Syno
  • OFFLINE
  • Administrator
  • Posts: 2227
  • Karma: 0
===============================================
Satisfied?
Consider a membership!
===============================================
Like us on Facebook
===============================================
Follow us on Twitter
===============================================
  • Page:
  • 1
  • 2
Moderators: ForumSupport
Time to create page: 0.42 seconds

Flatrate Membership: Professional Subscription

Get lifetime access to all of our products and 1 year of professional support -- for just $199 USD. No limits on domains!. Includes all of our current and future Joomla!® extensions, WordPress® plugins and Joomla!® templates.

Get it from here

Recurring Customer Discount - 50% Off!

Get a 50% discount on our Professional Subscription if you have been purchasing a subscription from us in the past -- no matter when. The Professional Subscription includes all of our current and future Joomla!® extensions, WordPress® plugins and Joomla!® templates.

How to receive the discount:

  • Purchase a basic 1-Year Subscription from here.
  • Send us a quick email to This email address is being protected from spambots. You need JavaScript enabled to view it. with your username and proof of your old purchase.
  • We will then upgrade your account to the Professional Subscription.

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 Basic or Professional Subscription plans.

How to receive the discount:

  • Send us a quick email to This email address is being protected from spambots. You need JavaScript enabled to view it. with a proof of purchase (for example a paypal receipt).
  • Await payment instructions and enjoy your membership!

About

Crosstec GmbH & Co. KG

Hohenzollernring 57

50672 Cologne, Germany

Imprint