I have two forms in my app and both seem to be having issues.
Form 1 is a simple edit form. The button to submit that form checks to see if the form is valid and if it is it toggles from disabled to edit using this code:
If(FRM_CampaignForm.Valid, DisplayMode.Edit,DisplayMode.Disabled)
For some reason, even though all the required fields are completed, the button does not go into edit mode. How do I find where/how the form is invalid?
Form 2. This form lives on a screen with a gallery. It is in view mode when entering the screen. There is an edit button that puts the form into edit mode. Along with this button I also have a submit button to submit any changes made to the form. That button is also disabled until a change happens with the form. My issue is that when I click the edit button the button is already in edit mode. How do I find what is triggering this? The code on the button is below.
If(
FRM_CampaignReview.Unsaved,
DisplayMode.Edit,
DisplayMode.Disabled
)