Hi,
Without any luck, I have tried to find a solution via Google for an issue I have with SharePoint 2013 using column validation. I perform a successful validation across three different fields in a list, so in case of any problem, my error message is providing the predefined text, telling the user in one of the three fields is a problem. This works fine so far, however, I would like to have a more precise message, informing the user in which field the error is located.
Here is an example:
In a SharePoint List I will organize members of a choir. To create a new member you need to enter:
Name and email address, you have to select the gender and the pitch of the voice. (it’s a poor example, I am sorry for that.. )
Now, the validation is performed and the new record is saved only, if the email is following the standard format (not starting with a blank, having a “@” symbol within the string, a domain extension… whatever) in addition, the validation is making sure, that there is no nonconformance between gender and the pitch of the voice. (So, a female singer is not selected as Tenor or Baritone; a male singer is not selected as Soprano…)
however, this validation works, and the output I have defined as “There is an error in the Fields of email, gender or pitch of voice.” is far away from an optimal solution.
The required solution would be to identify the field of the mistaken validation. For example:
Person: John Doe
Email: john.doe@aolcom (Point between domain and domain extension is missing, this typo would avoid writing the record due to validation)
Gender: male
Pitch of Voice: Tenor
The required Error message should be: The input in field e-mail is wrong!
Is there any way to separate my error messages to reflect in which field the validation found the misstake? (without going a JavaScript solution?)
cheers!