param1()

Parameter

Syntax

Function:
  • PARAM1()
Parameters:
  • The input value is passed from the form sending the value from an action button that calls another form.
  • ss (2015-06-10 at 01.12.15)
  • In this case the value of the field ‘{{Name}}’ is being sent to the target form ‘MyScreenForm’ from the source form.
  • Multiple values passed from a form are separated by the vertical line delimiter |
  • Target form fields can be dictated with a dataName:value pair.
Outputs:
  • The value passed into the Form from the calling Screen’s User Interaction Value (if any)
  • ss (2015-06-10 at 01.14.39)
  • The ‘PARAM1()‘ function sets the value of ‘Name’ in our target form.
Description:
  • The PARAM1() function returns the value passed into it from the Form calling
  • The value passed into the Form from the calling Screen’s User Interaction Value (if any)
  • The param number is incremented by the number of values passed to the target form. param1(), param2(), param3().
Used:
Formula Builder in a Formula Builder

 

Example

Result

From formss (2015-06-10 at 02.05.03)

Target form

ss (2015-06-10 at 01.58.00)

Assuming:-

{{Name}} =Joe Bloggs

{{Address}} =45 High Street

{{Phone}} =012345678

 

(For passing a single value to a target form )

{{Name}}

param1() = Joe Bloggs
For passing multiple values to a target form with field dataNames of ‘Name’ and ‘Address’.

Name:{{Name}}|Address:{{Address}}

param1() = Joe Bloggs

param2()45 High Street

(Input form)

Name:{{Name}}|Address:{{Address}}|Phone:{{Phone}}

(Target form)

JOIN('/ ', param1(), param2(), param3())

Joe Bloggs/45 High Street/012345678