I have created a list which has unique permissions. It’s an order submission form. I want end users to be able to place order using this list form. The whole site has only read permissions but this list should have contribute permissions so that end users can submit the form but every time i try to submit the form as an end user, i get Access Denied error. What I am missing?
I'm not able to reproduce your problem here.
These are the steps I followed.
No access denied error is displayed and the item is created.
When you get the access denied page can you check the URL to see exactly which page SharePoint was trying to access?
Maybe there will be more information in the SharePoint log file.
try putting insert code in
//your insert code