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
Add a ment  | 

2 Answers 2

Reset to default 6

This 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