
Announcements
I cannot display error message in Power Apps (4 screen canvas app). I have set fields to required but form still can be submitted with blank fields.
I have also tried making fields required in the SharePoint list - I have removed connection and recreated connection. Still nothing.
What can I look at?
I thought this would be a simple task.
I have no logic in any of the fields - I just have set Required = true.
I would expect to see a red error message beneath each field if blank.
Any help is appreciated.
Thanks in advance if anyone can shed a light on what I need to do.
Fitz
Hi@Fitz,
Could you please tell me that if there is a "*" character existing in data card?
Do you want to pop out a message if there is a blank value for any required fields?
I have a test on my side and it works well, please make sure that you have successfully set the Required property of the certain data card to be "true".
If you want a error message beneath each field if blank, please inset a Label just below the control.
Set the Text property of the Label as below:
"Entry is REQUIRED."
Set the Visible property of the Label as below:
If(IsBlank(DataCardValue12.Text),true,false)
Note: In my scenario, this is for a TextInput control, if you have a combo box or any other controls, please use follows:
IsEmpty(ComboBox1.Selected) Or IsBlank(ComboBox1.Selected)
You should notice that an "Or" operator is necessary between every control validation.
Regards,
Qi