This displays a bunch of html i dont really need. How can i get this to return the value of the error message, that I have specified.
For example. My error message for checking duplicates is "duplicates".
Instead of getting a formated html error message, i just want to see if tngs error message contains "duplicates", because if it does, i want to do some other stuff.
Retrieving data ...