- Posts: 222
- Thank you received: 10
Ask the community, share ideas, and connect with other LimeSurvey users!
DenisChenu wrote: There are no submit button in preview, then the script broke when you try to update an attribute
Add thisjust before // Identify this questionCode:if(!$('#ls-button-submit').length != 1) { return; }
I don't understand why Expression Manager broke if there are error here … Maybe limesurvey core can do somthing here : EM javascript work with (some) broken JS in question text.
Perhaps i made an error …krosser wrote: Perhaps I didn't add it in the right place, but it brakes the script.
Yeah but I think that's a matter of personal preference.Personnaly i prefer to quit when not needed than wrap inside a big if when needed. I think it's more clear