Skip to content

Commit

Permalink
note about connection between gender and salutation added
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelwechner committed Oct 9, 2014
1 parent 1b3197e commit 1987099
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -690,7 +690,7 @@ protected UserRegistrationBean areSubmittedValuesValid(Document doc, String emai
}

// INFO: Check gender (mandatory)
String gender = isGenderValid(getEnvironment().getRequest().getParameter(SALUTATION));
String gender = isGenderValid(getEnvironment().getRequest().getParameter(SALUTATION)); // INFO: Please note that the gender is determined based on the salutation parameter
if (gender == null) {
Element exception = (Element) rootElement.appendChild(doc.createElementNS(NAMESPACE, "gender-not-valid"));
inputsValid = false;
Expand Down

0 comments on commit 1987099

Please sign in to comment.