Get Form Entries from Controls Inside a Gallery

Code on Save to SP

ForAll(Gallery1.AllItems,
    Patch(SPList,
        Defaults(SPList),
        { 
          FirstName: TextInput1.Text,
          LastName: TextInput1_1.Text
        }
    )
);

Clear(colTemp);
JavaScript

Code on Clear colTemp Button

Clear(colTemp);
JavaScript

Code on Add 1 Row Button

Collect(colTemp,
    {
        tempRowID: Max(colTemp,TempID)+1
    }
);
JavaScript

Code on Trash Icon

Remove(colTemp,ThisItem)
JavaScript

Leave a Reply

Your email address will not be published. Required fields are marked *