hi

so first i was just doing a simple FoxNotify form using the example  
on the page:

(:fox addemail target="FoxNotifyLists.{*$Group}":)
etc...

this works great - it puts the "[EMAIL PROTECTED]" command in the  
right file

however, i realzed after messing around a bit that if i run the form  
several times, the user can add multiple email addresses - hence:

        [EMAIL PROTECTED] ...
        [EMAIL PROTECTED] ...

well, i decided that i'd like for the user to only be able to input  
one email address total - and that any further form submissions would  
replace the original content. here's what i thought would work

instead of
(:fox addemail target="FoxNotifyLists.{*$Group}":)
i put this as the top of the form:
(:fox addemail foxaction=replace put=overwrite target="FoxNotifyLists. 
{*$Group}":)

but this doesn't seem to work - nothing gets added, nothing gets  
replaced.

??
thanks,
adam

_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to