I want to use my application page as custom NewForm.aspx for the list. So I configured list's Schema.xml to use new Form:
<Form Type="NewForm" Url="NewRequestPage.aspx" Path="NewRequestPage.aspx" WebPartZoneID="Main" />
Then I added application page into my list definition subfolder in the following way:
The issue consist in error that occurs when item creation page is called:
File /mhp-clean-evr/Lists/VisitRequestsList/masterurl/default.master does not exist
Currently MasterPageFile attribute value is "~masterurl/default.master".
What MasterPageFile attribute value to use to make my custom new form work?
Unfortunately I couldn't find an answer for this question yet.