Save the changes and publish it once. You can also use simple conditions according to your requirement, like the date cannot be in the future and not on weekends from the code given above. This way, we can validate a date field in the Power Apps form. Validate Choice Fields in Power Ap...
save-publish-app.md screen-templates calendar-screen-overview.md email-screen-overview.md meeting-screen-overview.md people-screen-overview.md share-app-data.md share-app.md sharepoint-form-integration.md sharepoint-lookup-fields.md sharepoint-scenario-build-app.md sharepoint-scenar...