So here is a BW newbee at work with forms :-)
i can't get even the simplest validation to work.
here is a test form I tried, to update an info variable.
The validation should always fail, but never does.
The var updates every time.
Not sure what [session msg] does, as i don't get messages.
name: xyz
[form]
[text name]
[submit]
[session validate_name "/.*/ ? : warn='wrong input!'"]
[session warn]
[session info "field=name value='{=name}'"]
[session msg]
[form]
I also do not understand why info has such complicated syntax
and not just understands
[session info name {=name}] or [session info "name {=name}"]
or just simply [session info name]
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---