Summary
This article covers the and command.
Description
This command performs a logical AND on all parameters. It will only return true if all parameters are true.
Attributes
- none
Parameters
- two or more boolean commands
Example
<script scriptId="pregform"> <body> <s:if> <s:and> <s:isSet/> <s:eq> <s:numberPath path="/v01/demog.dmchild:value"/> <s:number value="0"/> </s:eq> </s:and> <s:list> <s:createForm> <s:parent> <s:form path="/v01"/> </s:parent> <s:type> <s:string value="pregser"/> </s:type> <s:alias> <s:string value="pregser1v"/> </s:alias> </s:createForm> <s:createForm> <s:parent> <s:form path="/final"/> </s:parent> <s:type> <s:string value="pregser"/> </s:type> <s:alias> <s:string value="pregserfin"/> </s:alias> </s:createForm> </s:list> </s:if> </body> <target typeId="dmchild" when="after" shouldReconcile='true' /> </script>
Need more help?
Please visit the Fountayn Contact Information page.