Summary

This is an standard format example of a basic assignment script.  


Standard Format Templates


Example 3

It starts and ends with the “script” tag. Within the script is the “body” tag. Within the “body” is normally the evaluation of the target question followed by the assign command that takes a first parameter of the question that will contain the new assignment and a second paremeter of the assigned value.

Script

<script scriptId="example">
    <body>
        <s:if>
            <!-- This is where the criteria that must evaluate to true would be entered -->
                <s:assign>
                    <s:question path="Enter the path to the question that will be 
                    assigned."/>
                    <!-- This is where the information that is assigned will be defined. -->
                    </s:assign>
                </s:if>
            </body>
            <target typeId="test" when="after"/>
        </script>



Need more help?

Please visit the Fountayn Contact Information page.