I have an application setup where users can edit data using Survey123 through the browser by using mode=edit and plugging in the globalid. There will be instances where users will need to delete related data. In the editing form there is a minus button which once clicked gives the appearances of deleting the repeat. However, after submitting and refreshing, the repeat is still there with all its data. Is deleting related records not possible using Survey123 in the edit mode via internet browser?
Deleting the related records is supported by Survey123 edit mode. Could you please double-check the "what can submitters do?" on the collaborate page? If you didn't allow the submitters to delete the records, then the edit mode will return the error msg. If you have already enabled delete records and still see this error, please let me know, I will help you investigate further.
Submitters have all capabilities. See below image. The edit mode page has always loaded, no error has ever been given. When the edit Survey123 loads, the repeat is populated with it data. The only button is the minus button shown in the attachment to the original post. Clicking the minus button appears to delete the related record in the edit form, but after submission and going back to the edit form, the repeat with the data still exists. If this isn't clear, I can record a video to show you.
After some more testing, I have found that I could not delete a related record if it would leave the parent record without any child records. However, if there were more than one related record, I could delete them given I still have at least one child record left. If I tried to delete all related records, the deletions would not be saved.
Is this intentional?