Modifying formValue helper to support default values.