Save Data Repeater Elements in Real Time

Save Data Repeater Elements in Real Time

Comments

  • Hi,

    I am trying to create a form whereby when a user adds an element in my repeater that holds Entities - of a User Defined Type - the Entity is saved after all fields have been completed. Each element is saved in real-time, rather than when the form is submitted.

    The data flow triggers dont seem to be flexible enough to facilitate this.

    Is there a tried and test approach to achieve this? Or is there another method I should be using for this.

  • Hello,
    Can you provide more information around the use case for needing to save this data in real-time when it is entered into the form? Doing so would either require data flows to trigger on value change for each entry field, which would have them run every time a character is entered in an entry field and may incur some performance issues when interacting with the form.
    We could also trigger the data flows to run on entering/exiting these entry fields, however in addition to potential performance issues, wed run the risk of data not being saved to the database if a user were to reach their final entry field, edit the value, and not enter or exit an entry field.
    If saving the data in real-time is not necessary for your use case, I would suggest saving the data repeater entries to the database after completing the form. Ive included a small example of how this would look in a flow. Please let me know if you have any questions or concerns.

Sign In or Register to comment.