From: David <da...@df...> - 2004-06-24 11:57:31
|
Hi, when you use the smarty delimiters ({}) in your regexp you have to enclose it by {literal} tags, so it should look like <fs:validate field=3D"Plz" check=3D"syntax" syntax=3D"/[0-9]{literal}{5}{/literal}/" /> - david On Thu, 24 Jun 2004 13:39:36 +0200 "Wojna" <wo...@wo...> wrote: > Hi folks! >=20 > I was just testing the new Formsess 2 release as this error occured: >=20 > Fatal error: Smarty error: [in adresse.tpl line 31]: syntax error:=20 > unrecognized tag: 5 > (Smarty_Compiler.class.php, line 403) in=20 > /usr/local/lib/php/Smarty/Smarty.class.php > on line 1102 >=20 > I was wondering because in line 31 there is only a HTML-Tag: >=20 > 30 <tr class=3D"content"> > 31 <td width=3D"120">PLZ *</td> > 32 <td><fs:input type=3D"text" name=3D"Plz"=20 > style=3D"width:250px"/><fs:validate field=3D"Plz" > check=3D"syntax" syntax=3D"/[0-9]{5}/" > 33 message=3D"Bitte gib eine g=FCltige Postleitzahl ein!"=20 > /><fs:validate field=3D"Plz" check=3D"empty" > 34 message=3D"Bitte gib eine g=FCltige Postleitzahl ein!" > /></td> 35 </tr> >=20 > According to the documentation input-type "text" is an allowed type.=20 > Maybe you can figure out > what the error is. >=20 > Best regards > wojna >=20 >=20 > --=20 > email: wo...@wo... > home: www.diekomplettebandbreite.de >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 -=20 > digital self defense, top technical experts, no vendor pitches,=20 > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Formsess-devel mailing list > For...@li... > https://lists.sourceforge.net/lists/listinfo/formsess-devel >=20 |