I have a Repeater inside which I have a button to add the items inside the repeater to a Database.
I have added an Afterinsert hook to my Database so that whenever a new row is inserted, an email is triggered to the email in the row. This email contains a link to a survey.
However, sometimes there are lots of items in the repeater and i have to go on clicking each row’s button for like 30-40 times.
Is there any way where with 1 click all the items in the repeater gets inserted into the Database so that the after insert hook is called for each of them and the emails are sent ?
Would really appreciate some guidance