cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
avo_man22
Level: Power Up

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
Dual Super User

Re: Submit form with unfilled required field clears from and breaks it

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 Team
Community Support Team

Re: Submit form with unfilled required field clears from and breaks it

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
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (5,785)