cholslin
Forms Fledgling

Select the Option Collection by Control ID

Goal: select the option collection of a SQL Request Control drop down menu, telling Nintex Forms to save the ID of the drop down menu into a JavaScript variable

Problem: NWF$('#' + varSqlRequestCtrl + ' option') does not select the desired option collection

Issue: varSqlRequestCtrl is set to the ID of the <input> element rather than the <select> element

Solution: delete the "_hid" off the end of the variable value

Question: is there a way to do this better than deleting the last 4 characters of the control ID string?

0 Kudos
Reply