Drupal Webform 编辑现有响应

发布于 2025-01-02 19:28:13 字数 235 浏览 4 评论 0原文

我有一个网络表单,用户在其中填写姓名、年龄、性别等字段......

用户进来并填写这些数据,但是我想为他们提供一个功能,让他们可以通过相同的网络表单(就像预先填写的网络表单,包含他们之前的回复)。

我正在调查将每个回复存储为草稿(这有什么缺点吗?),但随后我会在最终表单(提交表单)、操作上松动:(

还有一种方法可以在提交后将回复存储为草稿(这样用户就可以找到他们之前的回复,并预先填写在同一个网络表单中。)

I have a webform, where the user fills in fields like - Name,Age,Gender etc.....

The users come in and fill this data, however I want to give them a functionality where they can edit their previous responses via the same webform (Like a pre filled webfrom, with their previous responses).

I am investigating about storing every response as draft (are there any drawbacks with that?), but then I would loose on the end form (submit form), actions :(

Also is there a way to store responses as draft even after submit (so the users can find their previous responses, pre filled in the same webform.)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

初心 2025-01-09 19:28:13

如果不知道您要使用什么提交操作,这可能行不通。

尝试使用您需要的字段创建自定义内容类型,然后允许用户创建/编辑该内容类型。然后,您可以使用 Drupal 的内置编辑和发布来完成您所要求的操作。

规则和/或触发器通常可以处理典型的提交操作,例如发送电子邮件。

Without knowing what submit actions you are looking to use, this might not work.

Try creating a custom content type with the fields you need, and then allow users to create / edit that content type. You can then use Drupal's built in editing and publishing to do what you are asking.

Rules and/or Triggers can normally handle the typical submit actions like send an email.

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