Clear List
Clear List
Hi
I'm using a dynamically updated Multiselect Checkbox in a form and I want to clear the list once the form is submitted.
The problem I'm facing right now, is that the list keeps growing and growing every time I submit the form with records selected in that field. I'm clearing the field on load so the user can not see the saved list, but it doesnt help because the list will keep growing and for sure there's a limit of records the field can hold.
What I want is to clear the list once is submitted so I can save the selected records but keep the list clear for the next submission cause since the list is dynamically updated, I don't need to save the records selected.
I tried the Clear List function at the end of the Add-On Success but I keep getting this error: "Error at line:7 Variable is not declared", also tried on the On Load but the list doesnt shows up so I'm out of options.
Is there a workaround so I can just clear the Multiselect field after is submitted?
Thanks