Skip to contents

Shiny server module to navigate between forms. Navigation is done with a back and forward button in the UI module.

Usage

mod_navigate_forms_server(id, navinfo, forms_to_review, all_forms)

Arguments

id

Character string, used to connect the module UI with the module Server.

navinfo

Reactive values created with shiny::reactiveValues(). Used to send back information about the page change to the server.

forms_to_review

Reactive value. Contains a character vector with the forms that need review for the active/selected ID. Will be used to change the font face of the form name to bold if review of that form is needed.

all_forms

A data frame containing two columns: a column named "form" with all the form to navigate through in the correct order, and a column named "main_tab", showing the name of the main_tab in which the form can be found.