简体   繁体   English

重力形式 - Javascript

[英]Gravity Forms - Javascript

I want to edit the gravity forms using javascript. 我想用javascript编辑重力形式。 When I submit a form whether or not it's successful or has errors the page makes an immediate jump to the top of the form. 当我提交表单无论是否成功或有错误时,页面立即跳转到表单的顶部。 Is it possible to remove this action and make the transition smoother? 是否可以删除此操作并使转换更顺畅?

I found an event that gets run on form render, but I can't figure out how to remove the behaviour. 我发现一个事件在表单渲染上运行,但我无法弄清楚如何删除行为。

jQuery(document).bind('gform_post_render', function(){

});

It's annoying isn't it! 这很烦人不是吧! Have you tried this post found on Gravity Forms support? 您是否尝试过在Gravity Forms支持上找到的这篇文章? http://www.gravityhelp.com/documentation/page/Gform_confirmation_anchor http://www.gravityhelp.com/documentation/page/Gform_confirmation_anchor

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM