Edited by jsmarsalek on 07/28/04 09:13 AM (server time).
<script language="javascript"> function doURLPreview(item) { var test2; test2 = item[/../Access Code].getValue(); alert (test2); } IWEventRegistry.addItemHandler("/Article/Preview", "onCallout", doURLPreview); </script>
function doURLPreview(item) {// Get the name of this item, and do a replace to get the siblingvar siblingLabel = item.getName().replace(/Preview/, "Access Code");// Get a new IWItem which represents the sibling objectvar sibling = IWDatacapture.getItem(siblingLabel); var test2; test2 = sibling.getValue(); alert (test2);}