Client side validation of template text/params