cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mccardj
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
K-A-R-L 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
K-A-R-L 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

mccardj
Frequent Visitor

Re: Do not submit blank form

Thanks @Kar  that worked for me 

Helpful resources

Announcements
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Apps Community!

Top Solution Authors
Top Kudoed Authors
Users online (7,144)