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
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (2,419)