Summary

This command returns true if the first parameter is less than or equal to the second parameter.


Attributes

Parameters

Choice of one of the following:

  • two date commands
  • two number commands
  • two string commands
  • two partial date commands

Example

<script scriptId="futureDate">
    <body>
        <s:alert>
            <s:expression>
            
                <s:lte>
                    <s:datePath path=":value"/>
                    <s:currentDate/>
                </s:lte>
                
            </s:expression>
            <s:correction>
                <s:string value="optional"/>
            </s:correction>
            <s:text>
                <s:string value="This date should not be in the future.  Please check."/>
            </s:text>
        </s:alert>
    </body>
    <target typeId="questions" when="preprocess" shouldReconcile='true' />
    <target typeId="go" when="preprocess" shouldReconcile='true' />
    <target typeId="here" when="preprocess" shouldReconcile='true' />
</script>



Need more help?

Please visit the Fountayn Contact Information page.