[pmwiki-users] PTVReplace / Fox, ...

Hans design5 at softflow.co.uk
Mon Nov 24 05:46:58 CST 2008

Sunday, November 23, 2008, 4:35:51 PM, Stéphane Heckel wrote:

> this code is ok, thanks.
> however, if the ptv value contains
> Testing PTV    Testing is displayed in the input field after the ptv is
> saved (left side of the string before the first space). PTV variable 
> contains the correct value
> "Testing PTV"    Testing PTV is displayed (without the quotes)
> Is this the normal behaviour ?

Oh, my mistake! The value for the text field needs to be in quotes,
otherwise only the beginning up to the first space will be shown.
Try this:

(:fox form1 ptvtarget={*$FullName} ptvfields=isdoing redirect=1:)
(:input text isdoing "{$:isdoing}":)
(:input submit post Change:)
(:foxend form1:)


More information about the pmwiki-users mailing list