Two-section form functions
Find or evaluate a value in a two-section form.
- findDuplicate2SForm( )
Detect duplicate data across two-section form instances for a given item either within the flat section or the repeating section. The data is identified by a form ID which has duplicate item values for the search keys provided. The rule target should be on the corresponding repeating section item. - findDuplicate2SFormWithinRange( )
Detect duplicate data across two-section form instances for a given item within the same date range, either within the flat section or the repeating section. The data is identified by a form ID which has duplicate item values for the search keys or date ranges provided. The rule target should be on the corresponding repeating section item. - findMinIn2SForms( )
Find the minimum value of a given data item in all instances of the repeating section in a two-section form. This function works only for numeric fields. - findMaxIn2SForms( )
Find the maximum value of a given data item in all instances of a repeating section in a two-section form. This function works only for numeric fields. - findMinDateIn2SForm( )
Find the minimum value of given date, date-time, or partial date items in all repeating instances of a two-section form. This function is only applicable to date fields. - findMaxDateIn2SForm( )
Find the maximum value of the given date, date-time, or partial-date items in all of the repeating instances of a two-section form. This function is only applicable to date fields. - findMatching2SForm( )
Find a repeating section instance of a two-section form, identified by the row ID, that matches the item value provided as a search key. This function supports partial dates. - findMatching2SFormWithinRange( )
Find an instance of a repeating section of a two-section form, identified by the row ID, that matches the item value provided as a search key. The search can be based on search keys or date ranges. - find2SFormInstance( )
Find an instance of the repeating section in a two-section form that contains a value which matches the search value using a supplied operator. - list2SInstances( )
List all instance numbers for a two-section form. - getCurrent2SFormInstance( )
Get the form instance number where the rule is currently being run. - getCurrent2STableInstance( )
For two-section forms, find the current table row instances where the rule is currently being run. - getMatching2SFormsCount( )
Get the number of repeating instances in a two-section form that match the item values provided as search keys. - get2SValues( )
Retrieve values for the provided variables of a two-section form or variables of a table in a two-section form based on the tableInstance parameter.
Parent topic: Rules helper function reference