string.replace(/regex/) does not work with recursive patterns. I had to create a function that given the start of a radio button find the appropriate end of the button, the appropriate displayif string, and the appropriate label (up to end-of-line).
It appears to work, please check my code and let me know if you find anyhing that fails.
string.replace(/regex/) does not work with recursive patterns. I had to create a function that given the start of a radio button find the appropriate end of the button, the appropriate displayif string, and the appropriate label (up to end-of-line).
It appears to work, please check my code and let me know if you find anyhing that fails.
Thank you!!!