Form Data is Not Saved When I Click the Print Button: How Do I Fix It?
I am entering new data during the wizard, but the data is old because it has not been updated yet, so the backend pulls the old data when printing. Do I have a chance to send this data to BE? Or how can I do this printing job in the form wizard with current data?
4 Replies
If you want it to save running the standard save functionality?
$record->update($data)
maybe too?
array data is empty that's why is not working. My solution is
Send it off to a handler to save all the $data properly before firing your print class.
data only has a value when it is submitted to action.