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.074 seconds

Amazing Tool !
And only tool I know that allows complete Scaffolding in terms of component creation. It really saves loads of time (actually much more than that). Simple architecture enables quick and painless changes at any time. Code is clean and consintent. It's just... what's the word... neat! :) Great work! You should definetely try this one!

pi_wo (JED)
         

Get Started