Page 1 of 1
Blank New Records
Posted: Fri Oct 06, 2023 11:43 pm
by wangyonggang
Dears,
Although I set the required fields. But When I try to submit the form, it can be stored the blank record into the database.
I don`t think it can do like this. Could you tell me the reasons?
By the way, the button 'Cancel' does not work. When I click the 'Cancel', nothing done.
Thanks for quick response.
Re: Blank New Records
Posted: Sat Oct 07, 2023 7:07 am
by MichaelG
Re: Blank New Records
Posted: Sat Oct 07, 2023 9:38 pm
by wangyonggang
It works after set enabled both ASP.NET -> Validation -> Server-side / Client-side.
However,'Cancel' does not work. When I click the 'Cancel', nothing done. I think it should be returned to List page. But Nothing done.
Re: Blank New Records
Posted: Sun Oct 08, 2023 6:56 am
by MichaelG
Try setting Return Pages for add/edit pages to list page.
Re: Blank New Records
Posted: Mon Oct 09, 2023 11:00 pm
by wangyonggang
It is OK after F12 checking JS error.