Thanks for developing a much more flexible form format then webform *I love the fact that I can integrate fields that I have already created for other things*

I am trying to find a way to send users a cancel link, but cannot find this anywhere?

I see that in the anonymous entityform module there is the flexibility to edit and view content, but not necessarily cancel.

Is this an option? If not perhaps I can try and build something...

Shane

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ShaneOnABike’s picture

Status: Active » Needs review
FileSize
9.8 KB

Alright so here is the patch that I created to address this issue...

It addresses

* Lack of cancel button in the form -> redirects to user specified page
* Configurable cancel button label
* Provides the delete token to allow people to delete their content (in my case it would be registrations)
* Responds to bug when deleting your own submissions. Previously it was redirecting to admin page but some users may not have access to that so now it check permissions and redirects to cancel page instead (if the user has no admin permissions).

ShaneOnABike’s picture

Title: Cancel link » Delete link & cancel button

I modified the name to be a bit clearer

Status: Needs review » Needs work

The last submitted patch, 1: entityform-cancelfunctionality-2497103-2.patch, failed testing.