Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
FormAPI replicant
Jumjum
Greetings Everyone,
Can anyone help me get the values from my replicant.
Here is the dct:
<container name="Current_Stories">
<label>Current Stories</label>
<item name="replicant_stories">
<replicant combination="and" default="1" hide-name="t" max="6" min="1">
<item name="Headline">
<label>Headline</label>
<text size="40" maxlength="100" ></text>
</item>
<item name="Story">
<label>Headline Story</label>
<textarea rows="15" cols="55" />
</item>
</replicant>
</item>
</container>
Here is my js:
var testArray = new Array();
var testItem =IWDatacapture.getItem("/Current_Stories/replicant_stories");
testArray = testItem.getChildren();
for ( i = 0; i < testArray.length; i++ )
{
var childItem = testArray
;
var itemName = childItem.getName();
alert("childItem " +childItem);
alert("itemName "+itemName);
}
I can't seem to get my Headline value to show in the alert.
Can anyone help with this situation? I am not sure what I am missing?
Thanks,
Jum
Find more posts tagged with
Comments
There are no comments yet