top of page
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)



371 views0 comments

Recent Posts

See All

Comments


bottom of page