I got a action from Max for creating PDFs.
It creates the PDFs like a charm. I want it to save a pdf to server and then show the normal Thank you message, but all actions after the creation of PDFs doesn't run.
I get a blank page. I have looked through the code. Added a echo "Hello world" to the end of the code an it prints fine. It seems like ChronoForm doesn't register that action is finished.
Here's a test form without saving to server:Without saving PDF
Here's the same form but with save to PDF: Test saveing a PDF
Any suggestions?
EDIT:
It doesn't matter where in the OnSubmit event I place the HTML to PDF action. It will generate a blank page. But actions that are after will not be run.
If I put it as the first action. All actions after will not run. Eg. mail, db submit and thank you message. If I but it last. Then all actions are run, but it still produces a blank page. The only exception is the thank you message. That's not shown.
It creates the PDFs like a charm. I want it to save a pdf to server and then show the normal Thank you message, but all actions after the creation of PDFs doesn't run.
I get a blank page. I have looked through the code. Added a echo "Hello world" to the end of the code an it prints fine. It seems like ChronoForm doesn't register that action is finished.
Here's a test form without saving to server:Without saving PDF
Here's the same form but with save to PDF: Test saveing a PDF
Any suggestions?
EDIT:
It doesn't matter where in the OnSubmit event I place the HTML to PDF action. It will generate a blank page. But actions that are after will not be run.
If I put it as the first action. All actions after will not run. Eg. mail, db submit and thank you message. If I but it last. Then all actions are run, but it still produces a blank page. The only exception is the thank you message. That's not shown.