Django表单向导与Jquery步骤 [英] Django Form Wizard with Jquery steps

查看:132
本文介绍了Django表单向导与Jquery步骤的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何让Django表单向导使用Jquery步骤( http://www.jquery -steps.com/Examples#tabs )?我必须手动写出html而不是使用Django表单?对不起,我知道这是一个非常模糊和一般的问题,但我只是需要一些想法来攻击这个问题。

How would one get Django forms wizard to work with Jquery steps (http://www.jquery-steps.com/Examples#tabs)? Would I have to manually write out the html instead of using Django form? Sorry I know this a very vague and general question but I just need some ideas to attack this problem.

谢谢

推荐答案

您可以使用绝对链接制作标签,无需jquery即可轻松解决。
在每一步(新页面)上,您可以创建新表单。

You can make tabs with absolute link, without jquery, that is easy solution. On every step(new page) you can make new form..

或其他解决方案,使1个表单,然后在每个选项卡上,只生成字段您需要手动选择该选项卡。

Or other solution, to make 1 form, then on each tab, generate only fields that you need for that tab, manually..

这篇关于Django表单向导与Jquery步骤的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆