[opencms-dev] (6b3)validation rules

MickyW funkycms at axidea.fr
Wed May 25 18:12:44 CEST 2005


----- Original Message ----- 
From: "Bernd Wolfsegger" <bw at code-create.com>

> <rule element="Telephone" regex="[0-9]*"
> message="${key.editor.errormessage.MyResource.onlynumberserror}
> ${validation.path}}" />
>
> <rule element="Title" regex=".{1,10}"
> message="${key.editor.errormessage.MyResource.maxnumberserror}
> ${validation.path}}" />
>
> if  I am not wrong.
>

seems good to me, thanks :)
I knew it was possible to do it the regexp way but I wanted to know if there
were other options with that tag, however it's cleaner to do this that way
:)

Mickael





More information about the opencms-dev mailing list