Executes the enclosing block if the current request is a POST request.
Basically a shorthand for:
<if test=".request.method=='POST'">
May be followed by <else> or <elif>.
<if-post><!-- validate form --></if-post><else><!-- not a post request --></else>
name | purpose | type | required? | default | choices |
---|---|---|---|---|---|
if |
Conditional expression | expression | No | yes |