debug form submission