Is the following code, placed at the beginning of includes/modules/pages/myform/header_php.php, all that is needed to ensure a user is logged in before completing form:

Code:
  if (!$_SESSION['customer_id']) {
    $_SESSION['navigation']->set_snapshot();
    zen_redirect(zen_href_link(FILENAME_LOGIN, '', 'SSL'));
  }
Thanks