Ruby on Rails 面向客户的表单生成器?

发布于 2024-09-10 08:17:27 字数 231 浏览 11 评论 0原文

我有一位客户想要制作自己的调查问卷。类似于 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

月牙弯弯 2024-09-17 08:17:27

我会考虑使用 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

情魔剑神 2024-09-17 08:17:27

您始终可以嵌入 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?

过去的过去 2024-09-17 08:17:27

如果您不反对使用 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

旧时模样 2024-09-17 08:17:27

您可能想看看这个。 动态表单

我也在寻找非常相似的东西。你想出了什么解决方案?

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?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文