Changing the date in a control when toggle control switched.
In my Powerapps appl. I have a datacard with a toggle and a date field. When the toggle is switched to true, I would like the date field to enter Today's date. So in the OnCheck property of the toggle I use: dateField = Today() thinking it would enter the current date in the field and then the Submitform would save it to the corresponding field in the SP list. And when the toggle is switched to off, I use dateField = "" to make it blank. None of it works of course but would like to know how it can be done? Do I need to use variables, the Patch cmd or (?_)