top of page
Power Assist Logo
Writer's pictureAndrew Gallagher

PowerApps : Submit Button disabled until all fields are completed.

A nice way to enforce data integrity is to disable the Submit button until all of the fields in a form have been completed by the user.


The Submit button has three Display Mode properties – disabled, edit and view.

Using an IF statement I check whether each field on the form has data or is blank. If one of the fields is blank then the Submit button is set to Disabled otherwise the Submit button is set to Edit allowing the user to submit the form data.

If(And(!IsBlank(dceLeaveFromDateValue),!IsBlank(dceLeaveToDateValue),!IsBlank(dceLeaveTypeValue),!IsBlank(dceMedicalCertificateValue),!IsBlank(dceReasonForAbsenceValue),!IsBlank(dcePayTypeValue)),DisplayMode.Edit,DisplayMode.Disabled)



262 views0 comments

Subscribe to get our updates!

Thanks for subscribing!

Contact

+61 404 060 864

Po Box 1607,

Moorabbin, VIC, 3188​

Hours
Monday
9:00 - 5:00
Tuesday
9:00 - 5:00
Wednesday
9:00 - 5:00
Thursday
9:00 - 5:00
Friday
9:00 - 5:00
Socials
  • Facebook
  • LinkedIn
  • Twitter

© 2023 Power Assist. All rights reserved.

bottom of page