Thursday, March 20, 2008, 11:15:21 PM, Hans wrote:


>

Tuesday, March 18, 2008, 9:39:20 PM, Sameer Kumar wrote


>

When there is an error in the input I get two message

Please enter a Project Numbe

Please enter valid input!

How can I remove the second line? Or do you think I should no


I have not made this configurable. It probably should


Now with the latest fox.php release you can change

the general foxcheck error message Please enter valid input!   by


a) setting a different default message with a config variable

   $FoxCheckErrorMsg = "my default general validation error messsage";

b) set a form-specific fox validation check message in the form with

   parameter foxcheckmsg="my error message";

c) suppress the general message by setting foxcheckmsg='' in the form markup;

d) or in config.php with $FoxCheckErrorMsg = '';  

e) or using (:foxmessages formname list=check:) which will only show error 

   messages generated by (:foxcheck fieldname ... msg="custom error message" :)


I hope this system for form field validation errors is flexibel enough.

Feedback and questions most welcome!


  ~Hans

_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to