Inspecting the element within the script reveals the code "getCurrentItem().textField" appears to return a null value even though without the code it has content that is displayed on the screen.
It seems that the code ;
fullText = $w('#dynamicDataset').getCurrentItem().textField;
isn't passing back a value.
Any ideas why it isn't returning the value of the textfield that displays without the "$w("#dynamicDataset").onReady(function)" code added?