I have a situation where I have a status field and a date field (completion date) that are being used to track progress of some tasks. When the user sets the status to "Completed" (Status 5), I'd like to have the current date written into the date field automatically. I was thinking maybe I could use the SQL Action for Status 5 to write the date into #__js_res_record_values. Is that the best way to do it or is there a better approach?
I have a situation where I have a status field and a date field (completion date) that are being used to track progress of some tasks. When the user sets the status to "Completed" (Status 5), I'd like to have the current date written into the date field automatically. I was thinking maybe I could use the SQL Action for Status 5 to write the date into #__js_res_record_values. Is that the best way to do it or is there a better approach?