Optimized formConfig