I am trying to create a simple App that allows users to either update or add a record relating a particular client (stored in a SharePoint list).
I have a dropdown control that selects the client, and then filters a gallery showing all the existing records for that client.
Dropdown filters Historical Support gallery.
Selecting the "pencil" icon in an item in the gallery makes Visible a Form in Edit mode, populated with the values from the selected gallery item. Form submission with the Save icon for any edits is successful.
Pencil makes form visible in edit mode
Selecting the "+" icon in any of the items in the gallery makes Visible the same form in New mode, with the SharePoint required field of "Supporter ID" ("Title" in Sharepoint) pre-poulated to create a new record for this same client.
+ makes form visible in New mode
However, when the new form is submitted, I get the below error message in App Play mode:
App Play submission error
Exiting Play mode and going back to the studio, it suggests that I was missing a required field, which is why submission failed. However, the field that I prepopulate in New form mode IS the required field!
Submission error: required field.
Any help would be much appreciated.
Thank you!
V