cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mccardj
Level: Powered On

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
Level 10

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
Level 10

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
mccardj
Level: Powered On

Re: Do not submit blank form

Thanks @Kar  that worked for me 

Helpful resources

Announcements
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

New Badges

Check it out!

thirdimage

Power Apps 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

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors
Users online (4,547)