Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Sunday, October 18, 2026
About Us
O nás
Magazine
Magazín
Open Source
Otvorený softvér
CVS
CVS
Services
Služby
Index  »  Projects  »  phpMyEdit  »  Forum  »  How to Change a Field Value on Change ?

phpMyEdit General     How to Change a Field Value on Change ?
Post new topic   Reply to topic    
 
jpmpme     Joined: 15 Jun 2009   Posts: 1  
Post Posted: 2010-09-18 14:38
Back to top  Reply with quote     

I have a " Notes " field and would like to add a Date/Time stamp to the beginning of it whenever the User selects " Change ".

Question: How do I update a field BEFORE the User can edit it ?

Example:
Notes field has: "2010/09/15 10:15 am Test note"

When the User presses " Change ", it should have:

"2010/09/18 9:30 am
2010/09/15 10:15 am Test note"


Thanks, in advance, for your help !

 
doug     Joined: 10 Feb 2003   Posts: 1013   Location: Denver, Colorado (USA)
Post Posted: 2010-09-22 14:45
Back to top  Reply with quote     

See Update Trigger at
http://opensource.platon.sk/projects/doc.php/phpMyEdit/html/configuration.triggers.html#AEN430

 
Post new topic   Reply to topic    

Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top · Feedback form · Odkazový formulár · Application form · Prihláška
Report bug on PLATON.SK website · Upozorniť na chybu na PLATON.SK webstránke · Terms of use · Podmienky použitia · Privacy policy · Ochrana osobných údajov