0 Replies Latest reply on Sep 8, 2011 1:28 PM by waycow

    Getting Error Text

    waycow Level 1


      echo $tNGs->getErrorMsg();


      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.