Hi
I have a list view where currently if you cliick on the link for the row it open a form to allow me to change a field submit it and it triggers notification.
The issue i have is that it takes a long time to open the form update the field and them go back to the list view.
I have noticed that the delete link does not not open a form but deletes it inplace.
How can i get the eg email request link to update the field and trigger the notification without moving out of the list view.
Can i have a button , which will do the same thing.
Thanks
Tony
The delete button works via an ajax request, it is a single action that doesn't require a form.
But editing fields of a post is not the same, if you did not want to use a form to edit the post which includes the fields to be edited then you would need to set up your own custom ajax requests, or you could use the REST API to do something similar.
But it is not something that is possible with Toolset alone, you will need custom development for this.
Would it be faster to use a ajax request/rest api , than having to show the form each time ?.
This user has but 50 lines to update process is really slow.
You mean they have 50 posts to update (the fields being edited belong to a post, and there are 50 such posts)?
Rather than there is one post containing 50 fields to update? Because the latter would be quicker to edit in a single form, containing all 50 fields.
If the former, and there is one field to update in 50 different posts, and you are outputting these 50 different posts as rows with a View, then instead of including links to an edit form you could include a bare bones edit form directly, which was submitted via ajax, and the form included only the field being edited and the submit button.
I don't quite understand the scenario you are describing well enough to give you a clear answer.
Based on the screenshot and description you shared, you have 50 different posts that you list with view and you want to update the email field - so why dont you create a Edit post form for your post type and within that form only add the email field and submit button that should allow you to update only single email field when you submit the form.