How to get form data inside an HTML view??
Very simple app. Enter a repair in the form, hit submit and the data just entered should automatically show in a custom html view that then can be printed as a receipt. I am at a loss on how to get the html thing to work with the data in there among the html.
This is my script from the form 'on success':
- openUrl((((("http://creator.zoho.com/" + zoho.adminuser) + "/") + zoho.appname) + "/print/Print_Reparation_Custom?ID=") + input.ID,"Same window");
And here is the content of the HTML view called Print Reparation Custom:
-
- htmlpage Print_Reparation_Custom(ID)
- displayname = "Print Reparation Custom"
- print = true
- content
- <%{%>
- <img src="http://www.lydmuren.dk/external/lydmurenlogo400.jpg">
-
-
- <h1>REPARATION</h1>
- <br />
-
- ***** DATA FROM FORM HERE *****
-
- <p><font id="-new1" color="#666666" size="1"><em id="-new1">Minimums prisen er 275,- (220 eksl. moms) med mindre andet er aftalt. Timeprisen er 550,- (440,- eksl. moms). <br />
- Hvis reparationen ikke er betalt og afhentet inden 30 dage vil produktet blive solgt.</em></font></p><%}%>
I can't figure out how to get the data from the current record in there??
Help :)
Greg