Update form Not updating
In a previous form it was discussed that you could have the update recordset run automaticly by submitting the form on page load. This works great in the browser but not in a CRON JOB.
How would i have this form automaticly submit using something other than javascript? from my reseach it looks like php and curl? Can you give me a direction to look to or what to do ?
1. Page works great when browsing to that page it loads and then submits.
2. page does not work when using a cron job, it does not submit the form.
Cron command is : /usr/bin/curl script.php
previous post i was talking about:
use javascript to submit the form on page load. edit the body tag to:
<body onLoad="document.form1.submit();">
and use the currant page submit trigger.
Also the reason why i have to do this is because the multiple record update code has to be at the top of the page. (so i have to submit the form) It does not work ( update on page load) if i put that code at the bottom of the page AFTER the repeat region.. Anything i am missing? or that code has to be at the top of the page?