cancel
Showing results for 
Search instead for 
Did you mean: 

Aikau redirect after form submission

alex_russ
Champ in-the-making
Champ in-the-making

Hello, i have aikau page with form aikau widget, how i can do redirect after success formprocessing?

1 REPLY 1

ddraper
World-Class Innovator
World-Class Innovator

When the confirmation button is clicked on an Aikau Form the value of that form will be published on the configured okButtonPublishTopic. You should ideally have a service that is subscribing to this topic to handle the confirmation of the form. It is in this handler function that you should process the redirect. 

Page navigation is handled by the NavigationService. Your service should publish on the topic for navigating to a new page with the appropriate "url", "type" and "target" parameters (see the details in the link).