[pmwiki-users] How to update PTVs selectively using pmform without truncating hidden ones

Randy Brown randy at brownragfilms.com
Sun Jun 22 12:02:53 CDT 2014


Thanks, Petko. That works.

> 
> 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