I have a form (see attached) that allows users to submit visitor details and then displays the result in a gallery below. The user can submit multiple visitors, but the "host" and "Visiting Site" fields will always be the same as the first form submitted. I have this part working with a "LastSubmit.host", etc. formula, which when the form is submitted, it pre-populates the "Host" & "Visiting Site" fields, leaving the remaining fields empty. This works fine, but it would be nice for the "Host" and "Visiting Sites" fields "Display Mode" to switch from "Edit" to "View" to prevent users changing the pre-poplated values, but I cant figure this out.
I have tried...
If(IsBlank(Visitor_Registration_Form.LastSubmit.Host), DataCardValue14_1.DisplayMode.Edit, DataCardValue14_1.DisplayMode.View);
on various canvas and item parameters, but cant figure it. Help.


Report
All responses (
Answers (