Suppose say I have a static template as shown below say as template1
Section1
-------------
Name ________________
DateOfBirth ----------------------
Address ----------------------------
In my asp form
Section2
----------
Please enter Name --------------
Please enter DOB --------------
Please enter address ------------
Select Template from the dropdown box ------------------
PRINT
Assuming that they select Template1 as shown section 1 and click on the
print button. The user information of Name, DOB, Address should be populated
to the template before printing.
I want to now how to achieve this ....
Hope I am making sense.
User will select Template from the drop down and select
Jay said:
I am planning to implement some templates (around 30 templates). User
will select this template from the drop down and click print. When it
prints it should populate few fields from the form to template and print.
Any suggestions ?
Select Template _______________________ [PRINT]
-Jay
Not sure I follow what the issue is.
Displaying the page?
Getting Data?
Calling window.print()?
Just Response.Redirect() to the selected page and populate it, then call
the clientside print() event.
Where is this Data though? Just on the form? If so you will have to have
the PRINT button to a post to a page that will read in the values, to
the appropriate selected template, and then call the window.print()
It's pretty straightforward ASP coding.