Give a look on new custom example 7 for details and demo.
Highlight source code was made with GeSHi instead of PEAR::Text_Highlighter(previous solution).
Use instead addGroupRule() each time with a QFAMS element
So template example 1 used now server side validation, and of course addGroupRule().