admin管理员组文章数量:1352141
Are you aware of any form builders that do similar job to Formtastic but in the browser?
It should not be very heavy (so not ExtJS) and ideally patible with structure that Formtastic generates, jQuery based and HAML-JS friendly.
The purpose is to make it easier to create forms with SpineJS for Rails.
Under easier I mean:
- no need to add hidden fields to act as "unchecked";
- no need to repeat same structure all over again;
- no need to manually add classes to all the elements;
- produce inline-errors;
- etc;
Thanks.
Are you aware of any form builders that do similar job to Formtastic but in the browser?
It should not be very heavy (so not ExtJS) and ideally patible with structure that Formtastic generates, jQuery based and HAML-JS friendly.
The purpose is to make it easier to create forms with SpineJS for Rails.
Under easier I mean:
- no need to add hidden fields to act as "unchecked";
- no need to repeat same structure all over again;
- no need to manually add classes to all the elements;
- produce inline-errors;
- etc;
Thanks.
Share Improve this question edited Oct 15, 2011 at 10:25 Dmytrii Nagirniak asked Oct 15, 2011 at 10:19 Dmytrii NagirniakDmytrii Nagirniak 24.1k13 gold badges77 silver badges132 bronze badges 4- This doesn't answer your answer in a long shot, but I was looking for something similar a couple of days ago. Although I ideally want my client-side form-builder to be based on JSON instead of what you describe. The advantage of that would be the possibility to BOTH do client-side as server-side form-building from the same source (tis staying DRY). Anyway, the closest I got was github./neyric/inputex, which builds forms based on JSON but relies on YUI. It might help you in some way – Geert-Jan Commented Oct 15, 2011 at 14:27
- 1 Actually, you're question got me searching again as I still have the same problem. I've found this active project..neyeon./2011/01/creating-forms-with-json-and-jquery.. Based on JSON though.. – Geert-Jan Commented Oct 15, 2011 at 14:56
- Thanks for that. But it looks like inputEx is a "clone" of ExtJS inputs. Not really a form builder. But the jQuery dForm looks interesting. – Dmytrii Nagirniak Commented Oct 16, 2011 at 1:06
- dForm looks interesting indeed. Are you able to hook it up with spine.js? – nathanvda Commented Nov 28, 2011 at 15:41
2 Answers
Reset to default 6This is for Backbone and not Spine, but it's pretty much what you want: https://github./powmedia/backbone-forms
Have you looked at using Jotform, or foxyform?
本文标签: jqueryFormtastic in JavaScript (form builder)Stack Overflow
版权声明:本文标题:jquery - Formtastic in JavaScript (form builder) - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1743908876a2560017.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论