If you’ve made custom forms with SharePoint designer and you’ve modified it quite a lot, everything looks good in SharePoint designer, but when you open it in the web browser, you get the following error, the solution is simple:
put your insert/edit form in a div. Let me explain more in detail. A lot of times I don’t want my custom SPD insert of edit forms to be in tables. So I remove all the table tags and format the form with layers, spans, and custom CSS. Like in the screen below. The dvt_1.rowinsert template is clean. And the preview in SharePoint Designer is displaying it ok.
Image may be NSFW.
Clik here to view.
But when previewing it in web browser you get the error:
Image may be NSFW.
Clik here to view.
(screenshot is from Slovene website).
All I need to do to resolve this problem is to put the form in a layer (div) – or a table. See the example below (I’ve marked wrapper div with comments)
Image may be NSFW.
Clik here to view.
You can also place the div inside of entire template if you wish. As long as the sharepoint form fields have wrapper.
And your custom form iwll magically become alive
Image may be NSFW.
Clik here to view.
Happy formatting.