After Process Behavior

  • HST Behavior class: com.onehippo.cms7.eforms.hst.behaviors.AfterProcessBehavior
  • CMS Plugin class: com.onehippo.cms7.eforms.cms.extensions.AfterProcessPlugin

Introduction

The After Process pluggable behaviour contains information relevant to after the form has finished processing. It has the following fields:

Field Description
Confirmation Radio buttons to choose the behavior after the form submission.
Confirmation text Optional text to be presented as confirmation text in the page.
It will be set as request attribute 'afterProcessSuccessText'.
Confirmation URL Optional URL to be redirected to after the form submission.
It should either start with 'http' for an external redirect or be an existing HST sitemap path.

Screenshot:

 

CMS Configuration

To add the CMS plugin to the form editor, add a node of type frontend:plugin under /hippo:namespaces/your_namespace/your_form/editor:templates/_default_. Add the following properties:

  • plugin.class = com.onehippo.cms7.eforms.cms.extensions.AfterProcessPlugin
  • mode = ${mode}
  • wicket.id = ${cluster.id}.extensions.item
  • wicket.model = ${wicket.model}

HST Configuration

Behavior configuration

To add the behavior to your form component, add the following parameter to the component configuration:

  • behaviors parameter: com.onehippo.cms7.eforms.hst.behaviors.AfterProcessBehavior

Demo

The Enterprise Forms demo contains a form that has the After Process behavior plugged in.

Did you find this page helpful?
How could this documentation serve you better?
On this page
    Did you find this page helpful?
    How could this documentation serve you better?

    We rely on cookies

    to optimize our communication and to enhance your customer experience. By clicking on the Accept and Close button, you agree to the collection of cookies. You can also adjust your preferences by clicking on Manage Preferences. For more information please see our Privacy policy.

    Manage cookies
    Accept & close

    Cookies preferences

    Accept & close
    Back