There are several solutions.snippets* that could be copied to the docs
as examples.

Plus these that Martin shared.  I agree, the more simple examples the better.

Cheers,
Dan


On Mon, Mar 23, 2009 at 9:34 AM, Martin <[email protected]> wrote:
>
> There a couple of shortcuts for complex validation issues in a form
> like:
>
> [form]
> [text order][text name]
> [session required order,name]
> [submit]
> [form]
>
> which gives you a warning if one or both fields are empty. You can
> customize the message on site.messages if needed.
>
> Not to forget
>
> [form]
> [text Email][text name]
> [session validate_Email "/^...@.+\..+$/ ? msg=This email passes :
> msg=This email fails"]
> [session msg]
> [submit]
> [form]
>
> which checks if the user input is in the right format. You will find
> this on the solutions page but it should work with other regexes as
> well.
>
> Greetings, Martin
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"BoltWire" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/boltwire?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to