Forum Moderators: open
question1 = sending_info_from_form(arguments, or_document.form.name)
<form onsubmit="return process(this);">
then the entire form will be passed to the function, which would look like this:
function process(f){
doSomethingWith(f.firstName.value);
// instead of writing
// doSomethingWith(document.form_name.firstName.value);
}