Improved custom form behavior so after returning from a failed submission due to validation errors, we can return to the view we were on, without attempting to detect that from the organization input field data (since if all three fields are empty we cannot determine the previous view).
This commit is contained in:
parent
48df581b0b
commit
1df47314e1
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ import com.hp.hpl.jena.rdf.model.Literal;
|
|||
public class PersonHasPositionValidator implements N3Validator {
|
||||
|
||||
private static String DUPLICATE_ERROR = "Must choose an existing organization or create a new one, not both.";
|
||||
private static String MISSING_ORG_ERROR = "Must either choose an existing organization or create a new one.";
|
||||
private static String MISSING_ORG_ERROR = "Must specify an organization.";
|
||||
private static String MISSING_ORG_TYPE_ERROR = "Must select a type for the new organization.";
|
||||
private static String MISSING_ORG_NAME_ERROR = "Must select a name for the new organization.";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue