Add JavaScript addEventListener on a Survey

Has anyone worked through this yet? I am trying to put a date validation routine on a DOB Input Survey Question. I can see the code adding the listener on load successfully but it never fires when the attribute value changes.

Looking at the debugger after it runs shows the "onchange" event for oDateField as null and it (of course) never runs. oDateField is a valid object of course or the code would not have gone to the addEventListener statement. 



1 comment

Please sign in to leave a comment.