[pmwiki-users] foxfilter

Hans design5 at softflow.co.uk
Sun Apr 6 08:18:05 CDT 2008


Sunday, April 6, 2008, 1:49:32 PM, noskule wrote:

> What I have to do now to get the ptv cleard.

Assuming that 'ptv_Categories' is the name of a PTV, you could set
ptvclear=ptv_Categories in the fox form.

ptvclear=name1,name2,name3,..
    On form submission any named fields which are empty (with no
value, but not 0) will clear the corresponding PTVs (erasing their
values). This option allows empty input on specific input fields.
Normally empty input will be ignored, and in order to clear a PTV a
special keyword needs to be used. This is defined with variable
$FoxClearPTVFmt and defaults to the keyword NULL: input of NULL will
clear a PTV.

Hope this helps!

  ~Hans




More information about the pmwiki-users mailing list