Hi,
Is it possible to make a field required and and set a minimum length?
I've created an Image element type, and added an Alt field (for alt
text). I would like to ensure that the user is forced to enter a value
in this field. Setting a value for Minimum Occurrence ensures that the
field is displayed in the GUI, but that field can still be left blank.
I can possibly throw an error from the template, but that seems a little
messy. How do others solve this?
Regards,
Mike
Is it possible to make a field required and and set a minimum length?
I've created an Image element type, and added an Alt field (for alt
text). I would like to ensure that the user is forced to enter a value
in this field. Setting a value for Minimum Occurrence ensures that the
field is displayed in the GUI, but that field can still be left blank.
I can possibly throw an error from the template, but that seems a little
messy. How do others solve this?
Regards,
Mike