Hello!<br><br>First, FOX is a wonderful and flexible peice of work!!  THANKS!<br><br>I have been using Fox for some time now with much success.  However, I ran across a problem with FoxSetPW.<br><br>I have a form that is modification of the original contact form, that creates a page, with first line<br>

<br>(:fox contactform  target=&quot;{$AuthId}-{$$name2}-{$<div id=":19b" class="ii gt">$name1}&quot; ptvupdate=1 template=ContactTemplates#newregistration redirect=1:)<br><br><br>Iaqm using the follow in the form as well<br>
(:input text name1 {$:name1} size=60:)<br>
(:input text name2 {$:name2} size=60:)<br><br><br><br>The
problem comes when $fields[&#39;target&#39;] is used in the FoxSetPW function. 
The {$$name2} and {$$name1} are not evaluated from the form.  The final
result is another page named Theadmin-Name2-Name1 with the correct EDIT
id set.<br>
<br>I was able to get around this, by hard coding  $tgt = $AuthId.&quot;-&quot;.$fields[&#39;name2&#39;].&quot;-&quot;.$fields[&#39;name1&#39;]; <br><br>This works fine for the current form, but if I decide to change the target page in the form, I have to change the function.<br>

<br>Is there a way to do field substituions in form and have them passed to a custom filter?<br><br>Thanks!!<br><br>Jim</div><br clear="all"><br>-- <br>Jim Beuerle, PhD.<br>Mathematics Department<br>Elon University<br><br>