Use context
parameter of form. You can pass a single parameter or multiple parameters (using context='[param1, param2]'
) and then in the submit handler you can use
Object onSubmitFromMyForm(Object param1, Object param2){
....
}
Please note, the parameters are type coerced.