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="{$AuthId}-{$$name2}-{$<div id=":19b" class="ii gt">$name1}" 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['target'] 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."-".$fields['name2']."-".$fields['name1']; <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>