PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Enhanced User Interface (Chosen) isn't working on multi-page form

  1. It's in spanish but you can make your way around well enough ;)

    http://dfw.es.mercadotv.com/anunciate/

    Choose "Video" and then continue. Bottom field lets you choose categories (multiple). When this form was a single-page form, everything worked, but when I switched it to be multi-page, it stopped. Chosen script loads, no error on running .chosen on the fields, field IDs match up to jQuery Chosen call too. Not sure what's up, hopefully I can figure this out.

    Posted 12 years ago on Thursday December 1, 2011 | Permalink
  2. I'm actually getting one jQuery-related error:

    Uncaught TypeError: Object [object Object] has no method 'textareaCount'

    That script is found too, so I'm hoping to get to the bottom of that error to, which might actually be the cause of the script not loading.

    Posted 12 years ago on Thursday December 1, 2011 | Permalink
  3. Looks like an issue with AJAX-enabled forms. AJAX loads up some code that includes some scripts, which doesn't include textareacounter or chosen JS files.

    Posted 12 years ago on Thursday December 1, 2011 | Permalink
  4. Yep that was it, those scripts are enqueued, but never make it to the AJAX postback string sent to the browser.

    Lemme know when there's a fix, I'm going to hax0rs it for now.

    Posted 12 years ago on Thursday December 1, 2011 | Permalink
  5. Bummer, not fixed in 1.6.2, will hope for 1.6.3

    Posted 12 years ago on Sunday December 4, 2011 | Permalink
  6. Hello Scott,
    Thanks for the troubleshooting. I was able to fix this issue; if you would like to get the fix, send me a note to alex@rocketgenius.com and I will send the new version your way.

    Posted 12 years ago on Wednesday December 7, 2011 | Permalink
  7. Sent, thx!

    Posted 12 years ago on Wednesday December 7, 2011 | Permalink