
Hey, all
I have an app that submits a few forms and I have some data cards that are required on the app level (not sharepoint list level, as I have a function to save partially filled out forms), but when I try to submit an incomplete form to test the error message, the messages pop up under the data cards for only 1 second then they disappear.
I can't find in my code where it would reset the error messages, I wanted add a video but its 10 MB and that cannot be attached. I can't find any global error message setpoint to change, none of my forms have like an OnFailure reset error messages. Anyone have any ideas? let me know if you need any code blocks or anything. This happens whether I try to do a If(!Form.Valid, Submit(Form)) as a way to force errors without submitting complete form (like if one form is good and one is not, I just want to see which required values are missing on the second form), and when I just try to submit it normally.
Nevermind I figured it out; I had a local variable (isLocSubmit) to say if I was submitting as a draft or as a final, and my forms on failure said to make that isLocSubmit=false, and my data is only required if iLocSubmit=true. I changed around that variable and its working as intended now.