9 Jul
2013
9 Jul
'13
1:35 p.m.
Hi everybody ! I have a problem with validation using regular expression. I created a class with a number property "price". I defined the Validation Regular Expression : [-+]?[0-9]*[.,]?[0-9]+ and the Validation Message is stored in a translation page. I would like that the Validation message appears when I try to edit the price property of an object of this class with a bad value. Currently it seems my regexp is not used : I never see my validation message. I tried to use this page but no success : http://platform.xwiki.org/xwiki/bin/view/DevGuide/Creating+a+form+with+valid... Need help please. Thanks a lot! Pierrick