ACE WSK Client Pages

Widget flow

Basic principles of two-page application creation.

The first page representing the form and does the following:

  1. starts a form session with the ACE API using the server and authkey provided.
  2. pulls down the form definition and submit it
  3. redirects to the results page once it submitted with such snippet:
    .on('ace-submitted', function(e, form) {
      // set form busy marker again until page redirecting
      // redirect to results page
      window.location.assign('[url-for-second-page]' +;

The second page displays the results following the session created with form page (follow_session: true).