We have a SharePoint list with an associated InfoPath form.
The form has multiple views based on different field values and rules e.g. view_item (all fields), new_item, edit_a, edit_b and edit_c.
How can I store the name of the view in a hidden text field in the form?
We are using SharePoint 2013 and InfoPath 2013.
Best regards Morten