This topic is locked

Auto-Save

8/11/2009 10:21:17 AM
PHPRunner General questions
lewisgr author

I wondering if anyone has done auto-saving in the apps. I would like to auto-save when someone clicks the back to list button. And any code example would be helpful too.
Thanks

J
Jane 8/12/2009

Hi,
you can add new button on the add page.

Here is a sample:

http://www.asprunner.com/forums/index.php?showtopic=10748

lewisgr author 8/12/2009

Hi,

you can add new button on the add page.

Here is a sample:

http://www.asprunner.com/forums/index.php?showtopic=10748


Thank you, Would it be possible to write a code for "Save and Next Record"?

X
xliner 8/13/2009



Thank you, Would it be possible to write a code for "Save and Next Record"?


Here is the code for AFTER RECORD UPDATED event (ex http://www.asprunner.com/forums/index.php?showtopic=5251)::)

?>

<script>

window.close();

</script>

<?php

J
Jane 8/13/2009

Hi,
to redirect to the next record select ID of the next record and use it in your code:

$nextid = ...

header("Location: tablename_edit.php?editid1=".$nextid);