capture values from form befire submitting code example
Example: how to access values from a form event callback
<form_instance_or_returned_event_on_callback>.elements[0].value
<form_instance_or_returned_event_on_callback>.elements[0].value