cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

Do not submit blank form

Hi all,

 

I was wondering if it's possible to write a formula whereby if the Form is Blank do not submit it (aka do absolutely nothing), but if it has any values/data DO submit.

 

Thanks 🙂

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Solution Supplier
Solution Supplier

Re: Do not submit blank form

Hi @mccardj ,

 

If you set your DataCard to require value (*) it will prompt you to input something first.

Go back to your data source and make sure that it is a Required Field.

Please try working with this code:

 

If(!IsBlank(Required_Field), Submit, Navigate(SameScreen))

Thanks,
K-A-R-L


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

If you thought this post was helpful, please give it a Thumbs Up.

View solution in original post

2 REPLIES 2
Highlighted
Solution Supplier
Solution Supplier

Re: Do not submit blank form

Hi @mccardj ,

 

If you set your DataCard to require value (*) it will prompt you to input something first.

Go back to your data source and make sure that it is a Required Field.

Please try working with this code:

 

If(!IsBlank(Required_Field), Submit, Navigate(SameScreen))

Thanks,
K-A-R-L


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

If you thought this post was helpful, please give it a Thumbs Up.

View solution in original post

Highlighted
Frequent Visitor

Re: Do not submit blank form

Thanks @Kar  that worked for me 

Helpful resources

Announcements
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (9,240)