new version of form.php

for checkbox selection