Fixed form builder submitting bug in the frontend