Question
Update record on page load
This is probably something that's a lot simpler than I
realise.
Basically, I have a site with an online store, that transfers customers to a remote payment gateway, and returns them to the main site once an order has been processed.
So on my success landing page, I want to update the order_status field from 'pending' to 'approved'.
But when I go to add an update record behaviour to the page, dreamweaver wants me to create a form. So whilst I've done that in the past, ie have a form where users can update records, and hit submit to trigger the changes, how can I simply get a record to update upon a page loading?
Hope that makes sense.
Cheers.
Basically, I have a site with an online store, that transfers customers to a remote payment gateway, and returns them to the main site once an order has been processed.
So on my success landing page, I want to update the order_status field from 'pending' to 'approved'.
But when I go to add an update record behaviour to the page, dreamweaver wants me to create a form. So whilst I've done that in the past, ie have a form where users can update records, and hit submit to trigger the changes, how can I simply get a record to update upon a page loading?
Hope that makes sense.
Cheers.
