Hi I have a smiple app to collect data if not connected to the internet and submit it if it's connected.
Very basic but when required fields are empty and you click submit. It just breaks the form and then a red bar on top appears saying "An entry is required or has an invalid value. Please correct and try again" and then the form disappears and just says "No item to display"
The submit button has a code
If(Connection.Connected
,SubmitForm(Form1);ResetForm(Form1)
,Collect(CollectedIrrometer,
{
H8: Value(DataCardValue34.Text)
, C3: Value(DataCardValue35.Text)
, G6: Value(DataCardValue36.Text)
, G1: Value(DataCardValue1.Text)
, I1: Value(DataCardValue37.Text)
, L7: Value(DataCardValue38.Text)
, M4: Value(DataCardValue39.Text)
, S: Value(DataCardValue40.Text)
, N15: Value(DataCardValue41.Text)
, K17: Value(DataCardValue42.Text)
, L14: Value(DataCardValue43.Text)
, F13: Value(DataCardValue44.Text)
, E11: Value(DataCardValue45.Text)
, F10: Value(DataCardValue46.Text)
, H20: Value(DataCardValue47.Text)
}
))and the Form has a
OnSuccess Navigate(BrowseScreen1,Fade)
OnReset False
OnFailure False
The form is connected to a list in sharepoint. I think the issue is just simple but it's been eating up time to get this working. Anyone has encountered this before?