Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note

Note that the default expression for the rule is:

Code Block
_form.PhoneNumber

This is the value typed into the phone number field on the edit form, and therefore this simply copies the typed value into the stream.

This expression can use any value from field from the edit form (provided by _form), and any of the attribute functions, to set the value as needed.

...

Go into App Mode. Update a record - you will see the leading zero replaced by 44. Because this action backs both the Add and Update buttons, this is also true for newly entered contacts.

Panel
bgColor#D2F0FA
titleExercise

Update the rule to set phone numbers to start +44

To do this, you will need to edit the expression that sets the value, but also the validation expression - since currently this does not accept the + character.


Panel

Next chapter: TODO 9. Screen flow