Hi,
I am trying to add a button in the header of a form. By clicking on this button, I want to update the current record. Can you help me ?
Currently I was able to add from the javascript library, my button in the header :
$("#header").append("<div id='doublon'>My text here : <a href='#' id='button'>Click here to change date</a></div>");
I do not know where to put this code?
$update_sql = "UPDATE users SET date= NOW() WHERE id = {id}";
sc_exec_sql($update_sql);
In my javascript library it doesn’t work.
Thank you