Related listissue on edit and delete
Hi. I have run into a problem with the related issues.
When a user goes into a form and edits the data then goes to delete a record in the related list it redirects to the related list after delete and all changes are disregarded/lost.
Any wya to avoid this from happening?
Current version is 3.0.8.
When a user goes into a form and edits the data then goes to delete a record in the related list it redirects to the related list after delete and all changes are disregarded/lost.
Any wya to avoid this from happening?
Current version is 3.0.8.
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
Hi,
How does a user delete a related item: via the context menu or the form? What's the configuration of the related item: client-side or server-side rendering?
How does a user delete a related item: via the context menu or the form? What's the configuration of the related item: client-side or server-side rendering?
Quick correction. Maybe more detail. It does not redirect if i edit the record via the edit button.
Only if I delete it.
The steps:
From main(parent) i click the Edit button from view/list for the record I wish to remove.
The dialog opens.
I click delete record.
When it sends the submission for delete it closes dialog and redirects to the related list linked to the related-list. This is not the behavior if I just edit a record.
When it redirects after the delete is sent any parent form changes are lost. This does not happen if the record is edited. Also if I Edit or Delete from the parent page which does not open the dialog window all changes on the parent page are retained.
I have the related list set to optional to allow inline edit as well as adding and inserting a record in the dialog window. I need the popup dialod so I can create the form as it looks in its original form. Side by side and special labels and such. The inline edit does not allow for this.
Thanks.
Only if I delete it.
The steps:
From main(parent) i click the Edit button from view/list for the record I wish to remove.
The dialog opens.
I click delete record.
When it sends the submission for delete it closes dialog and redirects to the related list linked to the related-list. This is not the behavior if I just edit a record.
When it redirects after the delete is sent any parent form changes are lost. This does not happen if the record is edited. Also if I Edit or Delete from the parent page which does not open the dialog window all changes on the parent page are retained.
I have the related list set to optional to allow inline edit as well as adding and inserting a record in the dialog window. I need the popup dialod so I can create the form as it looks in its original form. Side by side and special labels and such. The inline edit does not allow for this.
Thanks.
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
Do you open the parent form in a dialog too? If so, unfortunately, you cannot keep the dialog open after deleting a child record. I recommend you you to open a parent form in the main window.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 5 guests