On Jun 23, 2008, at 5:49 AM, Norbert Pfaff wrote:
normaly I send a page with halfway the result. There I have also a
button for loading a PDF.
Now a customer wants a checkbox for instantly loading the PDF when
the entered data are correct.
Now how to send the PDF and directly after send the page? I think
the problem is there is only one request, so also one answer.
You are right it then you can't send both a PDF and a confirmation
page at the same time - but you certainly can send a PDF instead of a
confirmation page if the checkbox is checked and there are no errors.
Is there a normal way to do this or maybe a trick?
You should also be able to do some AJAX javascript stuff. Submit the
form with AJAX and if ok, send the PDF request. Not sure what they
buys you though.
Steve Alex
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/