hi,
this works for me:
- type: Text
name: email
label: E-Mail
size: 50
attributes:
title: Bitte geben Sie Ihre E-Mail Adresse ein.
constraints:
- type: Required
message: 'Bitte tragen Sie eine E-Mail Adresse ein!'
- type: Email
message_xml: 'keine gülitige E-Mail Adresse!'
Sorry for the german text but I hope this helps.
Am 07.12.2008 um 18:31 schrieb Matija Grabnar:
I've gone through the docs and google, but somehow I was unable to
find
if there is a way to put multiple constraints on a field. For
instance, I want
to mark a text field constrained to "Email" and "Required".
What do I need to put into the config file to do it?
_______________________________________________
HTML-FormFu mailing list
HTML-FormFu@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu
_______________________________________________
HTML-FormFu mailing list
HTML-FormFu@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu