Showing results for 
Search instead for 
Did you mean: 
Helper I
Helper I

How to perform form validation when using custom input function?

Hi everyone, 


I recently asked a question on this forum regarding passing form data to a custom component. 


In the above, the Calculate button is a custom component which has its onSelect and other behavior functions defined within the components section. To pass the values, I used an input custom function which makes use of Form.Updates. This works great! 


However, my question is, how do I validate the form using this approach? I require that the fields are not blank. 


Any suggestions on how I may implement this please? 


Thanks in advance!  


Super User
Super User

A simple solution would be to make the component (calculate button) invisible until all fields are filled, like




etc for all fields you want to be mandatory and non-blank




Please 'Mark as Solution' if someone's post answered your question and always 'Thumbs Up' the posts you like or that helped you!

You and everyone else in the community make it the awesome and welcoming place it is, keep your questions coming and make sure to 'like' anything that makes you 'Appy
Sancho Harker, MVP

Helpful resources

Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Power Apps Ideas

Changes to Ideas Coming

We are excited to announce a new way to share your ideas for Power Apps!

Top Solution Authors
Top Kudoed Authors
Users online (5,134)