[pmwiki-users] fox validation problem

noskule noskule at gmx.net
Sun Jul 13 18:57:07 CDT 2008


hi hans

I have a problem using form validation. If I try to edit a page with the 
foxedit link validation don't work. If I open the form and klick Submit 
validation works.

Do you see the problem?


{[foxedit form=Forms.Blog]}


Forms.Blog:

(:fox Blog:)
(:input default source={$EditTarget}:)

(:foxptv {$EditTarget} ptvfields=Title,Text,Author 
ptvclear=Title,Text,Author:)

'''Title'''\\
(:input text name=$:Title size=80:)

'''Text:'''\\
(:input textarea class=resize name=$:Text rows=10 cols=60:)

'''Author:'''\\
(:foxcheck Author msg='please sign as author!':)
(:input text name=$:Author:) %red%(:foxmessage Blog Author:)%%

(:input submit post Enter:)
(:foxend Blog:)


Form: http://netstreams.org/devel/cms/pmwiki/pmwiki.php?n=Forms.Blog
Test: http://netstreams.org/devel/cms/pmwiki/pmwiki.php?n=Fox.BlogTest1 
(Click "Edit Form")

thanks for any hints
nos



More information about the pmwiki-users mailing list