All is going well with my Lift learning...

The form field validations are working well, and I especially like the
field object types that know what they are, like 'email'.

My question is:

How do I tell Lift that a Contact's email is optional (empty string is
OK), but if it is provided, then validate it?

This is not for the regular User model, but only for Contacts I am
entering in an address book.

Thanks!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to