Forum: Ruby on Rails display form post results AND generate PDF data

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
A2c85dc5ee81b12e3cc0a6522e8d079d?d=identicon&s=25 Chris Hall (Guest)
on 2006-03-01 14:57
(Received via mailing list)
I have a report I need to generate from posted form data with the
optional
choice of also generating a pdf of the same report.

I am wondering if it is possible to do both, display the report in the
page
AND also generate the PDF data, within the same action, ie, user selects
all
the info they want in the report, also selecting 'Generate PDF', submits
form and report is displayed in the browser AND the user is also
prompted to
save the PDF that is also generated.

Chris
This topic is locked and can not be replied to.