Jump to content

Checkbox that records date of true


mdemetri2

Recommended Posts

Hello

 

Was wanting you know if anyone had come across a method whereby the following occurs:

 

On editing an existing record pulled back on a form, if a checkbox is change to TRUE (ticked) and then the record is submitted to update the database, then it should also record the date/time in a particular field e.g. 'checkboxupdate'. I already have a general update time/date field but this is updated whenever a record is updated.

 

I want the new 'checkboxupdate' field to only be updated with the date/time when the submission includes the change to write TRUE to the checkbox field.

 

As an aside I would need to ensure that the checkbox is read only if the value pulled back from the recordset is true........

 

Hope this makes sense.

 

Thanks

Demetri

Link to comment
https://forums.phpfreaks.com/topic/250301-checkbox-that-records-date-of-true/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.