This project has moved and is read-only. For the latest updates, please go here.

Add item to list in new item form

May 4, 2014 at 10:14 AM

I´m very new in Sharepoint and i have a trouble that i cant be able to solve. I´ve modified the new item form of a list to be able to add items to the lookup fields thet it have. It works fine and the item is added correctly in the lookup list but when i submit the form to modify the item an error is displayed with no info. Only appears a screen with a "Error ocurred" message. If i reload the form after the item is added to the lookup list, the form is submited correctly.

Any body can help me with this issue?.

Thanks in advance.
May 4, 2014 at 2:31 PM
You can't add items arbitrarily to the dropdowns. The page digest has the valid set of values encoded in it and the value you choose is validated against that list when you submit the page for security purposes.

You'll either need to get a new page digest or refresh the page for the new values to be acceptable.

May 4, 2014 at 5:52 PM
Thank you very much for your answer sympmarc.

The next question is , how can i get a new page digest without reload it?