Form submit help in a special case
===

I have multiple check-boxes , when i choose a check-box i want to submit a form and a the page will be refreshed.
however if the user has chosen another option in the mean time , i want last action should be ignore and the page will be submitted with the two chosen check-boxes.

how can i do this ? I M working on LAMP technology