Hi all,
I need to put a "if" condition in a form session line. I know the "if"
syntax in a form is different from in a normal page. But I don't know
how to write it right.
For example, I need to change the {page} value in different
conditions:
[session info "field='{=target}' value='ezNote' target='info.eznote.
{p1}{page}'"]
something like,
===========================
[session ....... target='
[if]
[if* more {p0} 5]info.eznote.{p1}{p4}[if*]
[if* more {p0} 4]info.eznote.{p1}{p3}[if*]
[if* more {p0} 3]info.eznote.{p1}{p2}[if*]
[else]
info.eznote.{p1}{p1}
[if]
'"]
===========================
How to transform this nested condition into the session syntax? Please
advice. Thanks.
Cheers,
linly
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---