This may sound weird and I don't know if it is possible but here is what I am trying to do: when a user checks a checkbox I want it to automatically send me an email. I don't want the user to have to click a submit button first. Just have them click on a checkbox and doing that will send me an email. Any Ideas?
You have to use " onchange" function in your form. Something like this: <SELECT name="dzien" onchange="your.form.submit();"> ........ </SELECT> Code (markup): with radio button looks like this: <INPUT type="radio" name="fodp" onclick="your.form.submit();"> Code (markup):
Assuming you want the form to post back and submit the above will work fine. If you are looking to simply "collect" and action(such as a radio button is clicked), you may want to consider a partial post back via ajax or an update panel.