This project has moved. For the latest updates, please go here.

.Controls not working for all fields

Oct 7, 2016 at 11:47 PM
I've been using .Controls along with a .find("input") to create listening events for my SP forms. After updating to the newest version, I've run into some issues where it works for some fields and finds the SPAN element. Other times, I'm getting something that looks like the following:
<span id="WPQ2867d0015-36df-4168-a79d-4c7b16a3a6b3Primary_x0020_System_x0020_Impac" data-sp-options="{"mode":3,"source":"Primary_x0020_System_x0020_Impac"}" data-sp-control="SPFieldChoice"></span>
I tried using the Internal Name and get the same result. Would you know if this is a bug or if I'm doing something wrong?