how to use delete link with url parameters ?
in Settings of forms there is actions and notifications and confirmation.
In confirmation there is Redirect page. Can we do this also in delete link ?
[deletelink label="Delete"] <---- i want to include the url parameters so that after delete it will refresh the page with url parameters.
Please help
Thanks.
Here's one way. Add the delete link to the view. Display the view. Hold your cursor over the delete link and copy the URL. Now you know what the URL should look like, e.g., https:///wp-admin/admin-ajax.php?action=frm_entries_destroy&entry=&redirect=&nonce=. Create a custom shortcode that returns a URL with the entry id, view id and nonce dynamically created (entry id and view id passed to the shortcode as parameters and the nonce is added via wp_nonce_url) and where you'd add your other parameters. Finally, in the view, replace the [deletelink] with your shortcode.
Please login or Register to submit your answer
Would you not be able to utilize a "delete" action?
https://formidableforms.com/knowledgebase/using-add-form-actions/