set up form-submit for debugging