FORMfields, the premiere web framework
Support Home | Knowledge Base | Documentation | Forums | Contact Us
FORMfields & FORMgen :: JavaScript

Automatic Printing of Your Form

(2386 views. Last Updated: 2007-08-15 4:34 PM)

This can easily be done by inserting a little JavaScript into your form. A simple example of this can be found at:
The steps to duplicating this are:
1. Add a JavaScript function for printing the form.
2. Remove the if statement that controls whether to display the form or display the confirmation box. Then, remove the confirmation box. This is done so that upon clicking submit, the form data is redisplayed for printing.
Support | Earn Money
Copyright © 2005-2020 Brain Book Software LLC.
Built with FORMfields, the premiere web framework.