Reply To: Looking for the right hook to trigger SQL query

Home Forums Quform WordPress Looking for the right hook to trigger SQL query Reply To: Looking for the right hook to trigger SQL query

#33904
csimstewart
Participant

Thank you @Ally and @oivanr. Both of those suggestions helped me get everything working from that initial issue question. I have a follow up question that I cannot find an answer for anywhere. Is there a jquery constructor similar to:
options.push (new Option(value, value));
which then:
$element.html(options).prop('selectedIndex', 0);
but will work on populating the options for a checkbox element in QuForm rather then the example of a dropdown? Or will I have to code all of the html variables as .append and generate the structure myself to push into the .html()?
Thank you both for your help!

Be inspired. © 2020 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy