[pmwiki-users] foxcheck problem

adam overton a at plus1plus1plus.org
Sun Dec 20 19:08:17 CST 2009


hi
i'm trying to prevent users from entering pmwiki markup like  
"(: ... :)" into certain foxforms, but my foxcheck attempts are not  
working. in fact, they're getting triggered whenever users try to  
clear values from a field. i'm wondering what i'm doing wrong. these  
are the two combos i've been trying.

(:foxcheck ptv_{$EditSection} match='-*(:*,-*:\)*' msg='Sorry - [= 
(: ... :)=] markup is not currently permitted. Please hit the "Back"  
button and try again.':)

(:foxcheck ptv_{$EditSection} regex='.*(?!\(:.*:\)).*' msg='Sorry - [= 
(: ... :)=] markup is not currently permitted. Please hit the "Back"  
button and try again.':)


thanks for the help!
adam




More information about the pmwiki-users mailing list