Re: Custome validation error [message #562 is a reply to message #561] |
Wed, 24 January 2007 07:09 |
AJM
Messages: 2369 Registered: April 2006 Location: Surrey, UK
|
Senior Member |
|
|
It looks like the contents of your 'custom validation' field is wrong. It should contain just 'sample.validation.class.inc/sample_validation_class/fax_no' , but it looks like you have prefixed it with 'subtype=CUSTOM, validation=' which is completely wrong.
You are supposed to put 'CUSTOM' in the subtype field, and the other value in the validation field, although in the latest version of RADICORE you do not need to set the subtype field to 'CUSTOM', so perhaps that confused you.
I attach an updated copy of std.validation.class.inc which should handle that error properly.
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
|
|
|