G'dayI've been looking everywhere and haven't been able to find anything remotely similar to this issue, so I apologise in advance if I'm asking a well known question.Working with Teamsite 6.5. If a non mandatory item within a container is saved with an empty/blank value, and the DCR closed, then reopened for editing, the item is no longer present. Subsequent attempts to add another item to that container (little plus sign) fail with a Javascript error " '****' is null or not an object". It especially seems to affect dropdown list boxes.Investigating the dcr xml shows that that item's xml is no longer present.Known workarounds are to either manually reinsert the item xml, make it mandatory (of course) or delete the container and recreate it.What I'd like to know is why the field is removed - other fields appear to remain on the form empty with no problems, and why I cannot create another item to replace it.Has anyone run across this before? Is there a way to stop losing the field or allowing new items to be created?I realise that the general response might be 'upgrade', but that's not an option at this point and I'm looking for suggestions for possible fixes.Thank you for readingWR
function insertOrContainerChoice( itemInstanceID, choiceName ) { var containerItem = datacapture.itemsRegistry.find( itemInstanceID ); //Get the replicant container node. var template = containerItem.template; for ( var i = 0; i < template.length; i++ ) { var protoType = template; if ( protoType.name == choiceName ) { var oldItem = containerItem.children[0]; var newItem = null; if (choiceName == oldItem.name) { return true; // Handle cases where we re-select the same item by doing nothing }