New functions for formBuilder