validateEventForm static method
[String?] validateEventForm(
)
Method to validate event form.
params:
value
: the value of the fieldlabel
: the (optional) label of the field
returns:
String?
: error message if field is invalid.
Implementation
static String? validateEventForm(String value, String? label)
- talawa
- validators
- Validator
- validateEventForm static method