cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
New Member

Submit form with unfilled required field clears from and breaks it

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?

2 REPLIES 2
Dual Super User II
Dual Super User II

Hi @avo_man22 

 

I carried out a test on my side using similar configurations and I am not able to reproduce this. This looks like a caching issue, can you please logout of your browser, restart a new browser and re-login to verify if this still exists?
 
Hope this Helps!

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
Community Support
Community Support

Hi @avo_man22 

 

Do you want create one off-line App?

Could you please refrence this?

offline-apps

https://powerapps.microsoft.com/en-us/blog/implementing-offline-capability-in-your-app/

 

Best Regards.

Yumia

Helpful resources

Announcements
News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (5,642)