action and onsubmit form code example Example: how to access values from a form event callback <form_instance_or_returned_event_on_callback>.elements[0].value