Front-End Editing in Place (view table)

By: Antonio Espina | Asked: 01/09/2023
ForumsCategory: General questionsFront-End Editing in Place (view table)
Antonio Espina asked 1 year ago
Hello, Having a table with a EDIT column, when I click EDIT the button changes to CANCEL and the edit form shows the fields under the table. If I click another EDIT in the view table, Another edit form will be added at the end (having 2 forms open to edit). How could I restrict to only one edit entry at the time? Table View Click EDIT and open 1 form under the table If I click a second row then open second form under the form 1 How could I update the shortcode to keep only 1 EDITION FORM active. Clicking a second edit, the first form will be cancelled/hidden and the button quit change to edit (no active)
1 Answers
Bobby Clapp answered 1 year ago
I won't be able to provide the solution, but it's something that will have to be worked out based on an ajax event. It might count the number of "forms" that are opened when ajax loading has completed and then prevent the ajax event action if greater than 1.
Antonio Espina replied 1 year ago

Where could I find the [EditLink] shortcode code? or how could I create an ajax event for this issue?

Bobby Clapp replied 1 year ago

I can offer little direction here. You might be able to find a developer to help @ https://formidable-masterminds.com/developers-directory/

https://www.w3schools.com/jquery/ajax_ajaxcomplete.asp

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right