[pmwiki-users] [fox] only add new page when textarea is not empty
design5 at softflow.co.uk
Mon Mar 8 05:27:09 CST 2010
Monday, March 8, 2010, 10:53:50 AM, Martin Kerz wrote:
> is there a possibility to specify in a fox form that a new page
> (with the content from a given textarea in the form) is only created when the textarea is not empty?
you can use Fox's in put validation
If 'text' is th ename of your textarea input control,
add to the Fox form something like (:foxcheck text :)
or some more eleaborate error check and reporting.
Make sure you got (:foxmessages:) as well, for display
of error messages.
More information about the pmwiki-users