PadCodedocs

Go to Screen

Slides in another screen, with a back button.

Category: Navigation

#When to use it

Use it to move to another screen that has a back button: open a note from a list, go to settings.

#Example

Each row of a notes Repeater, When Tapped:

  • To: the note screen
  • With: tap Add field, name it noteID, and link it with ⚡︎ → Repeater item → id

On the note screen, params.noteID reads which note was tapped.

#Good to know

  • The new screen slides in with its title and a back button. Go Back / Close goes back too.
  • The screen's inputs start from their values on that screen; With replaces the ones you send.
  • If the screen isn't there anymore, the step fails.

#Add it

Select a view, open the Inspector's Actions tab, pick when it runs, tap Add action and choose Go to Screen (under Navigation). Tap the step to open its settings.

#Settings

SettingWhat it doesKindDefault
ToThe screen to open.ScreenRequired
WithValues for the screen's params, like { "noteID": { "item": "id" } }.FieldsOptional

#See also