Determines whether a value is required for the agent property.
Type
public boolean isRequired;
Notes
The isRequired member variable is a boolean value that determines whether a value must always be specified for the agent property or whether the user can leave the property's value empty. If isRequired is true, the user must provide a value for this property. To indicate that an agent property's value is required, the following call to the third form of the AgentProperty() constructor specifies a boolean value of true as the fourth argument:
AgentProperty agt = new AgentProperty("Username", AgentProperty.TYPE_STRING, "User Id for logging into the database", true, false, ODKConstant.SINGLE_CARD, null, null);