Building a site that contains a complex "Add" and "Edit" screen not suitable for a Modal. Is there an example somewhere in the framework of performing page(form) validation on a non-modal form ?
4 Answer(s)
-
0
hi You can take a look at the documentation below. https://docs.aspnetzero.com/en/aspnet-core-mvc/latest/Converting-Create-Edit-Modal-To-Page-Mvc-Core https://docs.aspnetzero.com/en/aspnet-core-angular/latest/Converting-Create-Edit-Modal-To-Page-Angular
-
0
Thank you for pointing me to the sample. I did perform a search through the forum for this issue and did not find anything.
This is essentially what I did to my own form but could not get the validation to trigger. (red text, etc)
I spent the time and implemented your solution above (Mvc-Core) and was able to make this work for me here. I will go back and review my code more carefully.
-
0
I am facing same problem, did you come up with solution?
-
0
Hi @mhdevelop,
You can take a look at https://support.aspnetzero.com/QA/Questions/8654#answer-ca5e6d61-0c1f-0dea-557e-39f3d9985645
Related documents explain how to convert a modal to a page. So, current validation logic of modal pages also works on pages.