Hi All,
I am using D365 Online and Power Apps Portals
How to add "Inline error/Validation messages in Popup Modal window" in Power Apps Portals, Is it achievable, if yes any links please. I am using Basic forms in Portal
Regards,
Babu
Hi @Fubar ,
I am still struggling to find the solution for this.
I am trying different ways here, How to read control id and Value using JQuery in PopUp window
Regards,
Babu
Hi @Fubar ,
Thanks for your quick reply.
If you can provide any code example or any links on this, It would be great.
I am bit new to PowerApps Portals.
Regards,
Babu
Not sure exactly how you would achieve that, as out of the box the Submit evaluates the Page_Validators object and you still will want to stop the submit if one one of the validations is false,
One hack, may be to hide the DIV (id = ValidationSummaryEntityFormControl_EntityFormView) that the error messages are written in and then take its contents and reposition it with JQuery - the existing error message links that are written into that DIV contain the field_name_label and error text in each anchor tag.
Hi @Fubar
Thanks for your reply.
I am using Basic form to display on button click as a Popup window.
In Popup window, I do have some required fields, currently OOB, it is showing all the validation messages on top of the screen, when I click on Submit button. But I want those validation messages to be displayed next to each label of the control. This is my requirement.
Regards,
Babu
It depends on what you mean by "Inline" and may also depend on exactly where you are calling it from. I am assuming you mean from a (Web) Basic Form
If you mean adding your own code for something like onchange of a field then something like added to the Custom JavaScript field on the Additional Settings Tab on the Form definition
$( document ).ready(function() {
$( "#new_name" ).change(function() {
alert( "Handler for .change() called." );
});
});
// where 'new_name' is the dataverse field name
See the following link (also covers validation on Submit)
Fubar
62
Super User 2025 Season 2
Lucas001
48
Super User 2025 Season 2
KevinGador
44
Super User 2025 Season 2