Hi Mates,
I just entered a custom message(error message to title) instead of Parent.Error, this text has to display(If empty) when the User is submitting only, but it's always displaying when entering in to screen.
Any assistance.
Solved! Go to Solution.
Sorry for the delay - did I answer this question in the other post you had?
An option...
In the formula for your submitForm, set the following:
UpdateContext({lclShowErrors:!yourForm.Valid});
If(yourForm.Valid, SubmitForm(yourForm))
Now, set the Visible properties of your error messages to: lclShowErrors
Errors will not show until someone tries to submit the form.
I hope this is helpful for you.
Hi @RandyHayes ,
Can you please understand the issue here
First, I make it Required DataCard.
Text property of Error Message is (Default: Parent. Error) is updated with a custom message like"Required"
Visible: Defalut is Parent.DisplayMode=DisplayMode.Edit
Updated with "And(!Parent.Valid, Parent.DisplayMode=DisplayMode.Edit)"
Now when I enter this form its shows a custom message, it should not display until press the button.
It should display if it is empty during submittion.
Where do I need to Set the following on Form if yes under what property (Visible, OnSuccess, etc)
If Screen what property (OnVisible) etc
UpdateConte
UpdateContext({lclShowErrors:!yourForm.Valid});
If(yourForm.Valid, SubmitForm(yourForm))
In this case, where can I enter my custom text Like ("Field is Required") to lclShowErrors so that it will display if the form is not valid
Please explain a bit clearly
Hi,
Could you please set Error Control Text Property like this : If(!IsBlank(Parent.Error),"Required",Blank())
Sorry for the delay - did I answer this question in the other post you had?
Hi @RandyHayes ,
Yes, you are right,
The same resolution I got from one of my friends, but in fact, both are the same.
Expecting in future Reply clearly like on-screen of On Visible property update/Set etc.. so that will clearly will clear to every one.
Appreciated your Fix.
User | Count |
---|---|
158 | |
99 | |
83 | |
77 | |
59 |
User | Count |
---|---|
195 | |
173 | |
103 | |
93 | |
89 |