Workflow Soluiton

 View Only
  • 1.  Html tag in single/multiline text box causes error

    Posted Aug 20, 2010 06:16 PM
    I'm running into an issue where if someone puts in an html tag into a single/multiline text box it will throw an error as displayed below. For example, something like <b>, <br> will cause it to display the error message. I switched out the text component with a htmlEditorComponent and that worked but would like use the text boxes instead. I guess I can always strip the html out but just wondering if there is another way to handle this issue.



    Thanks,
    Aryanos


  • 2.  RE: Html tag in single/multiline text box causes error
    Best Answer

    Posted Aug 21, 2010 04:54 PM

    The error message above is something enforced by .NET/ASP.NET applications. You can get around this by "sanitizing" any input placed into the control before submission.


  • 3.  RE: Html tag in single/multiline text box causes error

    Posted Aug 23, 2010 05:21 PM

    Thanks for letting me know reecardo. I just swapped that textbox component for a HTMLEditorComponent, hid the Tab Strip and Toolbar, and used a HTML to Text Converter.