Re: Retain some form data after submitting.
Hi, I managed to get the "Host" one working, i simply removed/re-entered your code. But oddly the"Visiting Site" combo box doesnt display the current value? see attached.
The code I am using is...
Set(CurrentVisitingSite,Visitor_Registration_Form.LastSubmit.Visiting_x0020_Site); or
Set(CurrentVisitingSite,Visitor_Registration_Form.LastSubmit.VisitingSite); (this is how the sharepoint list column is named)
I also removed the line
NewForm(Visitor_Registration_Form);
as this was preventing the form data from showing in the gallery.
I have also been trying to set the "DisplayMode" of the host field to "view", using the code
"If(IsBlank(CurrentHost), DataCardValue14_1.DisplayMode.View, DataCardValue14_1.DisplayMode.Edit);"
But also cant get that to work.
Thanks in advance,