<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="font-family: 'Lucida Grande'; font-size: 13px; white-space: pre-wrap; ">I'm finally trying out the Fox preview feature. It looks very straightforward. I put the following code in my sandbox, but the preview didn't display my page. Is my syntax wrong?

myptv: 1

(:fox myform template=0 ptvtarget={*$FullName} redirect={*$FullName}":)
(:input text myptv size=10:)
%center%(:input submit post "$[Save]":) (:input submit cancel "$[Cancel]":) (:input submit preview 'Preview':)
(:foxmessages:)
(:foxend myform:)
(:if foxpreview:)
!!!$[Preview]: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; %green%[-&amp;ndash;\
 $[Changes have not been saved] &amp;ndash;-]
>>frame&lt;&lt;</span><div><span class="Apple-style-span" style="font-family: 'Lucida Grande'; font-size: 13px; white-space: pre-wrap; ">When the Preview button is pressed, the myptv line should appear below - but it doesn't:</span></div><div><span class="Apple-style-span" style="font-family: 'Lucida Grande'; font-size: 13px; white-space: pre-wrap; ">
(:foxpreview:)
>>&lt;&lt;
(:if:)</span></div><div><font class="Apple-style-span" face="'Lucida Grande'" size="3"><span class="Apple-style-span" style="font-size: 13px; white-space: pre-wrap;"><br></span></font></div><div><font class="Apple-style-span" face="'Lucida Grande'" size="3"><span class="Apple-style-span" style="font-size: 13px; white-space: pre-wrap;">Randy</span></font></div></body></html>