[pmwiki-users] How to update PTVs selectively using pmform without truncating hidden ones
Petko Yotov
5ko at 5ko.fr
Sat Jun 21 17:20:53 CDT 2014
Randy Brown writes:
> I'm using pmform to update a subset of page text variables on a page. If I'm
> not updating a particular PTV, I hide it on the form using:
>
> (:input hidden $:MyPTV value="{{*$FullName}$:MyPTV}" :)
>
> The problem is that when the MyPTV contains a double quote, it gets
> truncated at the quote.
>
> What is the best way around this?
You can probably use input default:
(:input default source={*$FullName}:)
(:input hidden $:MyPTV:)
This should work for all core forms, not only PmForm.
Petko
More information about the pmwiki-users
mailing list