[pmwiki-users] Fox update: adding input validation and flexible messages

Randy randy at brownragfilms.com
Fri Mar 7 08:27:42 CST 2008


Here's another question about Fox input validation.

One of my forms has this Cancel button:
(:input submit cancel "Clear form":)

By canceling, it clears the form and leaves the user on the same page,  
ready to start over. But with input validity checking, now pressing  
"Clear form" triggers invalid input messages, even though the user was  
not attempting to Submit.

Is there a way to tell Fox that this is not an attempt to submit  
input? If not, is there a simple way to suppress the foxmessages in  
this situation, or another way to clear the form?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20080307/2cd7a084/attachment.html 

More information about the pmwiki-users mailing list