AnsweredAssumed Answered

Page break code in the 'Custom Javascript' section

Question asked by dvowles on Jul 11, 2018

Hi all,


Bit of an unusual one.


I have entered the following code in to the 'Custom Javascript' field of the Form Settings section:



When I save & close the settings and preview the form, it does exactly what I want which is great...





However, when I re-open the Form Settings, the page breaks have been actioned in the text and it now appears as below:




If I then save the settings and preview the form, the code no longer works and no text is pre-populated in the multi-line text box.


Therefore every time I open the Form settings to make a change, I have to re-format the custom Javascript and add back in the '<br>' text.



Is this a known issue or is there anything I can do so that I don't have to edit the text every time I open the settings?

(I am very new to Nintex and/or Javacript so apologies if this is fairly straightforward)


Thanks in advance!