<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>I've found PTVReplace to be very handy. But how do I&nbsp;control redirection when using it?</div><div><br class="webkit-block-placeholder"></div><div>For some reason PTVReplace always redirects me to the target page without my requesting it.&nbsp;</div><div><br class="webkit-block-placeholder"></div><div>According to the cookbook, the default is no redirection. FYI: my local configuration file makes no mention of $PTVRedirect. &nbsp;I've tried putting "$PTVRedirect = 0;" in the config file but no change in results. I've also tried putting "redir=0" in several directives in the form page, but still no change in results.&nbsp;</div><div><br><div><div>Specifically, on Main.<span class="Apple-style-span" style="font-family: 'Lucida Grande'; font-size: 13px; white-space: pre-wrap; ">PageWithVariable</span>&nbsp;I have:</div><div><br class="webkit-block-placeholder"></div><div><span class="Apple-style-span" style="font-family: 'Lucida Grande'; font-size: 13px; white-space: pre-wrap; ">Variable1: Old value</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 class="webkit-block-placeholder"></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;">On Main.PageWithForm I have:</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;"><br class="webkit-block-placeholder"></span></font></div><div><span class="Apple-style-span" style="font-family: 'Lucida Grande'; font-size: 13px; white-space: pre-wrap; ">(:input form name=form1:)(:input hidden action ptvreplace:)
**Variable1:** (:input text name=Variable1 size=25:)
(:input submit post Change:)</span></div><div><br class="webkit-block-placeholder"></div><div>Ideally, I would like redirection, but to a *different* page, since&nbsp;<span class="Apple-style-span" style="font-family: 'Lucida Grande'; font-size: 13px; white-space: pre-wrap; ">PageWithVariable</span>&nbsp;is completely locked by password.</div><div><br class="webkit-block-placeholder"></div><div>1) How do I suppress redirection?&nbsp;</div><div><br class="webkit-block-placeholder"></div><div>2) Since PTVReplace doesn't allow specifying the page to redirect to, is there a way to detect that the Change button has been pressed, so I can at least use a conditional to change which sections on&nbsp;<span class="Apple-style-span" style="font-family: 'Lucida Grande'; font-size: 13px; white-space: pre-wrap; ">PageWithForm <span class="Apple-style-span" style="font-family: Helvetica; font-size: 12px; white-space: normal; ">are visible? (For example, to show "Click here to continue...")</span></span></div><div><br class="webkit-block-placeholder"></div><div>Randy</div></div></div></body></html>