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)
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.
Where could I find the [EditLink] shortcode code? or how could I create an ajax event for this issue?
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
Please login or Register to submit your answer