I&#39;m an idiot. I didn&#39;t realize Dan had answered the question on 6/19. Sorry.<br><br>The template page looks like this now--<br><br>Page Name entered: {$$makepage}<br>File Name: {$$create}<br>Some words: {$$txtWords}
<br><br>The form page looks like this--<br><br>(:messages:)<br>(:zapform:)<br>(:zap createtemplate=&quot;Systems.TestFormTemplate&quot;:)<br>||Create: ||(:input text makepage:)<br>||Add some text: ||(:input text txtWords:)
<br>|| ||(:input submit:)<br>(:zap if1=&quot;namefmt {makepage} ? create=Systems.{makepage}&quot;:)<br>(:zap if2=&quot;! namefmt {makepage} ? warn=Invalid page format. &quot;:)<br><br>(:zap create=&quot;&quot;:)<br>(:zapend:)
<br><br>(:if false:)<br>[[#ID]]<br>(:messages:)<br>(:zapform:)<br>Create: (:input text create:) (:input submit:)<br>(:zapend:)<br>[[#ID]]<br>(:if:)<br><br>I didn&#39;t realize the template keyword is now &#39;createtemplate&#39; instead of pagetemplate. Also, it has to be in double quotes. To get the form info to appear on the new page, you must use {$$field_name} not {field_name}.
<br><br>Scott Smith<br><br><div><span class="gmail_quote">On 6/22/07, <b class="gmail_sendername">Scott Smith</b> &lt;<a href="mailto:smackaysmith@gmail.com">smackaysmith@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I&#39;m struggling to get zap to create a page using a template. My ultimate goal is to have a zap form filled out and emailed to me. For now, I&#39;ll take just getting a template page to work with Hello World! displayed.
<br><br>Stats:<br>pmwiki-2.2.0-beta44<br>Zap 5/31/07<br>Zap Toolbox 5/31/07<br><br>Have cut and pasted the test install code: installation successful.<br><br>I took the make page markup and modified it slightly -- I added the pagetemplate line and a field for additional text.
<br><br>(:messages:)<br>(:zapform:)<br>(:zap pagetemplate=Systems.TestFormTemplate:)<br>||Create: ||(:input text makepage:)<br>||Add some text: ||(:input text txtWords:)<br>|| ||(:input submit:)<br>(:zap if1=&quot;namefmt {makepage} ? create=Systems.{makepage}&quot;:)
<br>(:zap if2=&quot;! namefmt {makepage} ? warn=Invalid page format. &quot;:)<br><br>(:zap create=&quot;&quot;:)<br>(:zapend:)<br><br>(:if false:)<br>[[#ID]]<br>(:messages:)<br>(:zapform:)<br>Create: (:input text create:) (:input submit:)
<br>(:zapend:)<br>[[#ID]]<br>(:if:)<br><br>I created the Systems.TestFormTemplate with the following:<br><br>Page Name entered: {makepage}<br>File Name: {create}<br>Some words: {txtWords}<br><br><br>When I run the form, I do get a new page, but it&#39;s always blank. I am misunderstanding templates on a zap and pmwiki level. Horribly confused.
<br><br>Thanks<br><span class="sg">Scott Smith<br><br>
</span></blockquote></div><br>