Livecycle

Livecycle

  • Welcome to Adobe LiveCycle Designer ES
  • Introducing Designer ES
  • Getting Started
  • Quick Start Tutorials
  • Using LiveCycle Designer ES
  • Using Guide Builder
  • Scripting
  • Menu, Command, Toolbar, and Dialog Box Reference
  • Sample Form Snippets and Forms
  • Glossary
  • Copyright and trademark notices
  • Livecycle
  • Scripting
  • FormCalc User Reference
  • Logical Functions
  • Oneof
Oneof
Determines whether the given value is within a set.
Syntax
Oneof(s1, s2 [, s3 ...])
Parameters
 
Parameter
Description
s1
The position of the value you want to select within the set. If this value is not a whole number, the function rounds s1 down to the nearest whole value.
s2
The first value in the set of values.
s3 (Optional)
Additional values in the set.
Examples
The following expressions are examples of using the Oneof function:
 
Expression
Returns
Oneof(3, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1)
True (1)
Oneof(“John”, “Bill”, “Gary”, “Joan”, “John”, “Lisa”)
True (1)
Oneof(3, 1, 25)
False(0)
Oneof(“loan”, Fields[*])
Verifies whether any occurrence of Fields has a value of loan.

Oneof

Livecycle > Oneof

  • Welcome to Adobe LiveCycle Designer ES
  • Introducing Designer ES
    • Getting Started
      • Quick Start Tutorials
        • Using LiveCycle Designer ES
          • Using Guide Builder
            • Scripting
              • Scripting Using LiveCycle Designer ES
                • Scripting Reference
                  • FormCalc User Reference
                    • Introducing FormCalc
                      • Language Reference
                        • Arithmetic Functions
                          • Date and Time Functions
                            • Financial Functions
                              • Logical Functions
                                • About logical functions
                                • Choose
                                • Exists
                                • HasValue
                                • Oneof
                                • Within
                              • Miscellaneous Functions
                                • String Functions
                                  • URL Functions
                                • Menu, Command, Toolbar, and Dialog Box Reference
                                  • Sample Form Snippets and Forms
                                    • Glossary
                                    • Copyright and trademark notices

                                    Livecycle

                                    • de
                                    • en
                                    • fr
                                    Powered by Helpmax Guide Source