Interface FormHandler

public interface FormHandler
extends EventListener
Handler interface for form submit events.

Methods

onSubmit(FormSubmitEvent)Fired when the form is submitted.
onSubmitComplete(FormSubmitCompleteEvent)Fired when a form has been submitted successfully.

Method Detail

onSubmit

public void onSubmit(FormSubmitEvent event)
Fired when the form is submitted.

Parameters

event
an event object containing information about the form submission

onSubmitComplete

public void onSubmitComplete(FormSubmitCompleteEvent event)
Fired when a form has been submitted successfully.

Parameters

event
an event object containing information about the form submission