Thank you for visiting my site!

Variables

Global variables:

 

Set( globVar, Blank()); // default any value

 

If(isVal, Set(isVal, false), Set(isVal,true))

better

Set(isVal, !isVal)

Set( RunningTotal, RunningTotal + TextInput1 ) // initialize and set

Set( RunningTotal, 0 ) // reset

—————————————————–

Context Variables (Local Variables)

UpdateContext( { locVar1: 0 , locVar2: 0 , } )

—————————————————

Pass Variables to next Screen

Navigate(Screen2, ScreenTransition.Cover,{newVar: locVar})

—————————————————–

Preset the value of an input box

  1. set a global variable on app or screen visible:
    Set(varCurrencyVal, Blank());
  2. on Curr1_val textbox Default:
    If(IsBlank(varCurrencyVal),Parent.Default,varCurrencyVal)
  3. OnSave
    If(
    IsBlank(Curr1_val.Text),
    Set(varCurrencyVal, 0);
    SubmitForm(EditForm1)
    )

to reset:
Reset(TextInput1)


Preset the values for a dropdown

[“”,”Red”,”Blue”]

ADD YOUR COMMENT