IWEventRegistry.addItemHandler("/Root/Section/Image", "onItemChange", makeRO);function makeRO(item){ var path = item.getName(); var altpath = path + "/../Alt"
Hi,I am wondering if someone can give me a little guidance. I am very new to formAPI and TeamSite. I have a small request to update a DCT. My requirement is as follows."If the user enters text into the Image Text area, the ALT Tag text area should be a required field".The problem I am facing is these text area's are within a "replicant". The code is as follows:[html] ... The maximum number of characters for the folder path of the image is 250. The maximum image size is 150 x 150 pixels. The maximum number of characters for the alt tag is 500. ... [/html]I know to set the field to be required I use the following:IWDatacapture.getItem("Section[??]/ALT Tag").setRequired(true);But what I am confused about is how to "loop" through the replicant items where the [??] is the value of the replicant. Can someone please shed some light.Greatly appreciated!
<label>Alt Tag</label>