# Subscribe a popup form to a model
kind: Model
frame: my-home-frame
source: my-model
setMessageOnSuccess: Your model was executed # OPTIONAL
setMessageOnFailure: Your model failed # OPTIONAL

Object properties

Name Type Required
kind Constant: Model yes
frame string yes
source string yes
setMessageOnSuccess string no
setMessageOnFailure string no

Object information

  • Object with the following properties:
    • kind (required): Constant Model
      • Use to send the popup form data to a model
    • frame (required): string
      • The frame that the model you wish to subscribe to lives
    • source (required): string
      • The model name to use as a source
    • setMessageOnSuccess (optional): string
      • Display a message upon the successful solving of the model
    • setMessageOnFailure (optional): string
      • Display a message upon the failure to solve a model