[SOLVED] Â Creating draft pages |
4/26/2019 7:42:39 PM |
PHPRunner General questions | |
W
WilliamB authorDevClub member
Hello, |
|
admin 4/28/2019 | |
Something like this can be done. Since autosave only works on the edit you will have to create a draft/temporary record and redirect user to that page.
select ...
$values["draft"]='false'; |
W
|
WilliamB authorDevClub member 4/30/2019 |
Thanks Sergey! |
W
|
WilliamB authorDevClub member 4/30/2019 |
It works the way you said. I sorted the list page with tabs. One shows Drafts and the other Published. $values['Status']='Draft';
$values["Status"]='Published';
header("Location: tCaseNote_edit.php?editid1=".$values['ID']);
$("#saveButton1").click();
|