It would be nice if you could change the author on an entity form. The use case for this is so that users can edit entity forms. If they submit the form before they become a user and want to come back later on and edit it, this requires that I set the UID on the form to match the right UID. It would be great to have the node like UI for correcting the entity form author info.

CommentFileSizeAuthor
#5 entityform-submitter.png21.54 KBcapysara

Comments

greg boggs’s picture

Title: Change Entity Form Authr » Change Entity Form Author
memcinto’s picture

Agreed - this would be very useful. Particularly because of all the "edit own" "view own" "delete own" permissions, it makes it hard to switch owners of an entityform submission without hacking the database directly. Which I have done, not happily.

knipnehpets’s picture

Ditto this. Still really need it.

ramya balasubramanian’s picture

Hi,

I cant able to get this point. Change Entity Form author in the sense, do u guys are telling about changing the author of an entityform type or entityform submission author.

Here in this version, we are not capturing the entityform type author. So please explain what's the issue?

capysara’s picture

StatusFileSize
new21.54 KB

If I understand correctly, the question is referring to the submission author. Entityform automatically collects the 'submitter' (see screenshot). In my use case, I would like to change the submitter from the username of the original submitter to 'anonymous' when the user becomes inactive in my system.

If I've misunderstood the original question, then please disregard.

I'm using 2.0-rc1.

dinotav’s picture

I have the same problem.
I need to create a entityform submission on behalf of another user.

Example: I have many papper submissions to add to the entityform and I need choose the author of each submission.

joelpittet’s picture

I haven't done this but you may be able to create a Views Bulk Operations to change the uid property.

capysara’s picture

I'm not sure if this meets the need of the OP, but, VBO worked for me. joelpittet you're correct, you can use VBO to change the user. Thanks so much! You can use the built-in VBO 'change owner' to change the submitter to another user.

For my purposes, I wanted to change the user to anon, so I had to create a custom rule, which I added to my VBO for my entityform submissions, and used the custom rule to change the entityform submitter (entityform:user) to anonymous. I used this as a starting point (modified slightly for entityform instead of node) and it worked great: https://www.drupal.org/project/rules/issues/687162#comment-11302953.