Hi, I am trying to achieve the following with custom JavaScript on Nintex form but not having much luck. Anyone have suggestions? thanks.
1. Populate Label text using JavaScript with html formatting : In custom JavaScript section of a Nintex form, I tried NWF$(".NewLabel label").text("hello"); which works, but when I try NWF$(".NewLabel label").text("hello<br>"); or NWF$(".NewLabel label").text("hello
"); the newline doesn't get applied to the label control on the form.
2. check if a value exists as an option in a drop down list choices (from list lookup control): I want to check if value "one" exists in a drop down list "accounts" choices. I tried using NWF$('#' + accounts + 'select option[value='one']").val(); but it is giving an error.
thanks for your help