// Validatie - Check of alle velden zijn ingevuld
If(
IsBlank(txtInput_Naam.Text) ||
IsBlank(txtInput_Email.Text) ||
IsBlank(txtInput_Telefoon.Text) ||
IsBlank(dtpDatum.SelectedDate) ||
IsBlank(ddContactpersoon.Selected.Title),
Notify("⚠️ Vul alle verplichte velden in", NotificationType.Error),
// Als alles OK is, opslaan in SharePoint
Patch(
'Bezoekers lijst',
Defaults('Bezoekers lijst'),
{
Naam: txtInput_Naam.Text,
Datum: dtpDatum.SelectedDate,
Naam: txtInput_Naam.Text,
Email: txtInput_Email.Text, // ← Pas aan naar exacte kolomnaam
Telefoonnummer: txtInput_Telefoon.Text,
Contactpersoon: {
'@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
Id: ddContactpersoon.Selected.ID,
Value: ddContactpersoon.Selected.Title
},
Status: "Aangemeld",
}
);
Notify("✅ Bezoeker succesvol opgeslagen!", NotificationType.Success);
Reset(txtInput_Naam);
Reset(txtInput_Email);
Reset(txtInput_Telefoon);
Reset(dtpDatum);
Reset(ddContactpersoon);
Navigate(Startscherm, ScreenTransition.Fade)
);
My Power app:

Maybe it is something simple, but i don't see it at this point. Maybe you can see in an eyeblink what i do wrong.
Thank you in advance.
With regards,
Diana