Ruby on Rails 面向客户的表单生成器?
我有一位客户想要制作自己的调查问卷。类似于 WuFoo (www.wufoo.com),但更安全且包含在应用程序中。
我看过 Smerf (http://github.com/springbok/smerf),它提供了yaml 到表单的转换,但我想要用户可以用来创建自己的表单的东西。
I have a customer that wants to build their own questionnaires. Something like WuFoo (www.wufoo.com) but more secure and contained within the app.
I've looked at Smerf (http://github.com/springbok/smerf) which provides the yaml-to-form conversion, but I'd like something the user can use to create their own forms.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
我会考虑使用 active_scaffold。 Rails 3 的主要版本尚未更新,但以下位置的分支已更新。我认为它可以很好地满足您的目的,您只需要一种获取数据并将其输入的方法。以下是它运行时的演示:
https://github.com/vhochstein/active_scaffold
这是页面顶部的演示:
http://demo.activescaffold.com/roles
I would look at using active_scaffold. The main version has not been updated for Rails 3, but a fork at the location below has. I think it would work well for your purpose, you just need a way to grab the data and feed it in. Here is a demo of what it looks like when it is running:
https://github.com/vhochstein/active_scaffold
Here is a demo at the top of the page:
http://demo.activescaffold.com/roles
您始终可以嵌入 Google 表单。可能比重新发明轮子更容易。除非您有一些特定的用例,这不包括在内?
You could always embed Google Forms. Might be easier than reinventing the wheel. Unless you have some specific use case this doesn't cover?
如果您不反对使用 Javascript 路线,那么您可能会考虑使用众多框架插件之一,例如 JQuery 表单生成器。从可用性的角度来看,在我看来,任何好的解决方案都将涉及一些 JavaScript。这种方法应该没有理由不能很好地集成到 Rails 后端中
If you are not adverse to going the Javascript route the then you might consider one of the many framework plugins like the JQuery Form Builder. From a usability perspective it seems to me that any good solution is going to involve some Javascript. There should be no reason why this approach wouldn't integrate well into a Rails backend
您可能想看看这个。 动态表单
我也在寻找非常相似的东西。你想出了什么解决方案?
You might want to check out this one. Dynamic Forms
I too am looking for something very similar. What solution did you come up with?