Takes a string and calls a provided handler function for each found instance of {ELEMENT:<elementName>} in the string. Used to replace values in OneBlink calculation and info (HTML) elements.
{ELEMENT:<elementName>}
formElementsService.matchElementsTagRegex( myString, ({ elementName, elementMatch }) => { const v = submission[elementName] myString = myString.replace(elementMatch, v) },)
Or
formElementsService.matchElementsTagRegex( { text: myString, excludeNestedElements: true, }, ({ elementName, elementMatch }) => { const v = submission[elementName] myString = myString.replace(elementMatch, v) },)
Takes a string and calls a provided handler function for each found instance of
{ELEMENT:<elementName>}
in the string. Used to replace values in OneBlink calculation and info (HTML) elements.Example
Or
Returns