chore(generated/form): add error message when value is invalid

related to CAM-3002