I have a custom form on a content type I've created. This content type has 3 site columns which are a lookup field from 3 lists. In the form I've created the user selects a dropdown box and chooses an item for each field. This fields are required.
It all works fine on my development machine, but it breaks down when I deploy it in testing.
I save the 4 list as templates and upload them on the new server, then I create the 4 corresponding lists. It all looks fine while adding a new item (the 3 fields correctly find the corresponding lists and present me the items to choose from). After saving the item and opening up again every other field is filled but the 3 lookup fields.
No error is thrown while saving. It just skips the fields (which are required).
Any idea? Thanks