Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

How to set current datetime to the datetime field 09 Oct 2014 06:59 #12685

  • vivek
  • vivek's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 123
  • Thank you received: 2
Hi,
How to set the current datetime to the datetime field?

Also, can you please post a short list of changes that went onto 2.6.5?

Regards
Vivek

Please Log in or Create an account to join the conversation.

How to set current datetime to the datetime field 09 Oct 2014 08:50 #12686

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
You need to define it in the item model in
- loadFormData() : if you want it to be modifiable
- prepareTable() : If you want to set it after the user sent the form (per security)

The description of the last version is here : www.j-cook.pro/index.php/docs/versions/197-2-6-5

Hope it helps
Coding is now a piece of cake
The following user(s) said Thank You: vivek

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.199 seconds

I'm playing around with the new mvc and the FORK feature is FANTASTIC!!! it's saving me a lot of time! you are doing a very good job!!

Tomaselli (Forum)  

Get Started