Find/replace html/text with jQuery

Hi guys!

Rather than using plugins or jQuery to get line breaks in the repeater dataset, you can use the .replace( , ) method in the Set Text action for the repeater’s OnItemLoad:

OnItemLoad
Set text on [widget] equal to [[Item.ColumnName.replace(‘sometext’,’\n’)]]

where “sometext” is the text you include in the dataset specifically for line breaks, e.g. “< br >”

Linebreak.rp (51.1 KB)

2 Likes