cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mccardj
Helper II
Helper II

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 Specialist
Solution Specialist

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 Specialist
Solution Specialist

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

Thanks @Kar  that worked for me 

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (1,534)