Skip to content

Is there any API documentation on the next() function? #197

Description

@dylanfpaul

I want to see what is capable with the next() function besides bubbling errors to a Stormpath form. More specifically I want to not only send a new Error to the form from an express preRegistrationHandler (which I know how to do because it is in the documentation), but I also want to fire a function within scope of the form from the preRegistrationHandler.

Now I know that there is a next() call in my client-side onFormSubmit which then passes data to the preRegistrationHandler in express, but how can I access the scope of the form again from the preRegistrationHandler? I am unsure if I should be passing a function or some type of callback into the client-side next() prior to the preRegistrationHandler.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions