Update form.php

Try-catch for form builder