Reply
User to print out form once complete
Old 05-10-2007, 06:37 AM User to print out form once complete
Novice Talker

Posts: 10
Name: Matthew Laver
I want my users to fill out a form online but then I would like them to print out the form so that they can sign it and send it in the post. So i guess I need to control what the printed document looks like but with their entries in place.

Anybody have any suggestions as to how I can do this!
Mr Batman is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 05-10-2007, 07:41 AM Re: User to print out form once complete
chrishirst's Avatar
Super Moderator

Posts: 13,669
Location: Blackpool. UK
pass the form details to a printable page and display it
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 05-10-2007, 08:10 AM Re: User to print out form once complete
Novice Talker

Posts: 10
Name: Matthew Laver
Yeah that sounds right. I was just asking how you do that?
Mr Batman is offline
Reply With Quote
View Public Profile
 
Old 05-10-2007, 09:50 AM Re: User to print out form once complete
chrishirst's Avatar
Super Moderator

Posts: 13,669
Location: Blackpool. UK
that depends on what server side code you use

but it is simply a matter of capturing the submitted form, formatting it then writing it back to the user agent

You could also fire off a javascript document.print when the document loads, though some OS/browsers may block that.

It is possible to do this with javascript but it is not something for the fainthearted or novice programmer.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 05-11-2007, 05:18 AM Re: User to print out form once complete
Novice Talker

Posts: 10
Name: Matthew Laver
Ok I think there is a gap in knowledge here.

I need to know what to learn. i.e. I know that I need someway of capturing the information and then using it in the way I want (this is the essence of any form manipulation) but I am not sure how to begin the process.

Like most people I have used CGI scripts downloaded off the internet to action my forms when they are submitted. I have also touched on PHP and MYSQL through setting up CMS sites such as MAMBO and XOOPS.

So I know the answer lies somewhere within capturing the information either through running a cgi script or by creating database entries. But I am unsure then how I would use the stored information again.

Remember back to a time when you didn't know everything and let me know which direction I should be looking.
Mr Batman is offline
Reply With Quote
View Public Profile
 
Old 05-11-2007, 04:53 PM Re: User to print out form once complete
chrishirst's Avatar
Super Moderator

Posts: 13,669
Location: Blackpool. UK
So I guess the answer to the question would be PHP then.

So this thread will be in the PHP forum very shortly and someone will pick it up from there.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to User to print out form once complete
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.12899 seconds with 12 queries