Drupal Webform 编辑现有响应
我有一个网络表单,用户在其中填写姓名、年龄、性别等字段......
用户进来并填写这些数据,但是我想为他们提供一个功能,让他们可以通过相同的网络表单(就像预先填写的网络表单,包含他们之前的回复)。
我正在调查将每个回复存储为草稿(这有什么缺点吗?),但随后我会在最终表单(提交表单)、操作上松动:(
还有一种方法可以在提交后将回复存储为草稿(这样用户就可以找到他们之前的回复,并预先填写在同一个网络表单中。)
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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果不知道您要使用什么提交操作,这可能行不通。
尝试使用您需要的字段创建自定义内容类型,然后允许用户创建/编辑该内容类型。然后,您可以使用 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.