AnsweredAssumed Answered

Calculated field containing HTML in a Repeating Section

Question asked by brentless on Jul 26, 2016
Latest reply on Aug 31, 2018 by hrchiar

I'd like to create a repeating section that leverages the new lookup() function to create an equipment request form.


When a user selects a particular product, I want the form to lookup an html <img src=""> tag in a text field in the reference list, and display it in a calculated field to display that image.


I can do this just fine using the lookup() function, but when I go to save the form (with multiple line items in the repeating section), i get an error


"A potentially dangerous Request.Form value was detected from the client...", with a big long ID string for that particular calculated field.


It appears it does not like the HTML tag (with quotes, double or single) being part of the XML in the form or a variable.


Has anyone done this before or know the right way to do this?  I'd rather not use custom javascript if possible.