FORMULA LANGUAGE


Examples: @Contains
1. This example returns 1 to indicate that the substring, "Th," is contained in the string, "Hi There."
2. This example returns 1 to indicate that the items in one text list are contained in the other text list.
3. This example returns 1 to indicate that the single text item in one parameter is present in the text list that makes up the other parameter.
4. This input validation formula for the "RequestShipDate" field checks if the date in the field is invalid or if the field named ProductLeadTime contains the phrases "weeks" or "month." If either condition is true, when the user saves the document a message box displays stating, "You must request a valid ship date."
5. This view selection formula creates a new view that includes only documents that have a Subject field containing the text "Mary Lamb" (in any case).
6. This action formula opens a WebForm instead of a NotesForm if the user executing the action is assigned the role of "[WebUser]" in the ACL.
See Also