Class StringField

    • Method Detail

      • setEmptyValue

        public void setEmptyValue​(String prop)
        Set the empty Value. This value is used if Intake maps a field to a parameter returned by the user and the corresponding field is either empty (empty string) or non-existant.
        Specified by:
        setEmptyValue in class Field<String>
        Parameters:
        prop - The value to use if the field is empty.
      • setRequired

        public void setRequired​(boolean v,
                                String message)
        Set the value of required.
        Overrides:
        setRequired in class Field<String>
        Parameters:
        v - Value to assign to required.
        message - an error message