Skip to main content

Newer versions of Ziggeo incompatible(?) with jQuery Form plugin

Comments

3 comments

  • Bane

    Hi,

    The first question would be if you are by any chance using the form parameters of our embeddings?

    Specifically I mean: input-bind and form-accept

    These are the only two that are in any way associated with the form with the last one actually making sure that the form can not be submitted unless the video has been recorded.

    It will work however with the non AJAX forms, with AJAX forms being a possibility that they are submitted in a way that does not depend on the browser itself, rather your own logic.

    Another point I want to check with you is if you are using v1-r27/ziggeo.js or if you are using v2-r27/ziggeo.js?

    1
  • DarthVeyda

    Hi Bane,

    Thank you for your reply!

    We are using input-bind (to a hidden field - so the MVC backend can retrieve the video token value from it), but not form-accept. So, the form can be submitted with or without video - it's just that with a video it's submitted as a regular form and not an ajaxForm... with no JS errors in the console and for no apparent reason.

    We were using v1-r27 (which worked fine, up to v1-r30, in fact), and then tried to upgrade to v1-r33 (which no longer worked). I've just tried to reference v2-r33 instead, but results are the same - as long as video recorder was touched, ajaxForm parts of the code (and only those) are ignored.

    Thank you!

    0
  • Bane

    Hi and thank you for the additional info.

    I believe I know what might be best approach here. Instead of using the input-bind please try using the verified event.

    Once verified event fires, you can grab the token and just add it to the field or into the data that will be pushed to your servers.

    Hope this helps.

    * You can see more about the events including verified event here: https://ziggeo.com/docs/sdks/javascript/browser-interaction/events

     

    0

Please sign in to leave a comment.