The Form Broker


The FormBroker package creates instances of form data description objects. These objects instances have a simple set of methods to validate and control data as typically posted by HTML forms, thus data represented as the map of form variables to their values. In Rivet this association can be obtained either calling load_response or var, (form variables can be selectively read also calling ::rivet::var_post or ::rivet::var_qs)

The FormBroker package is still experimental. Basic functionalities and interface are not likely to change but internal details and implementation could be redesigned in future releases. More specifically the external validator mechanism will likely need design improvements.