Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Replicant
System
Hi,
Using FormAPI Is there any way to know number of replicant.
For example if i click replicant 5 times later i am coming editing replicant 3 . Is there any way to know the replicant number
Thanx in advance
Find more posts tagged with
Comments
akshathp
Are you trying to fetch the number of replicants in your code for PT? If so, you could use something like:
<iw_perl>
<![CDATA[
my
@num
= iwpt_dcr_list('dcr.Contain.Para');
my $ctr = scalar(
@num)
;
iwpt_output($ctr);
]]>
</iw_perl>
Hope this helps!
Akshat Pramod Sharma
Migrateduser
Thanx for your reply.
I am trying to get replicant number in FormAPI onItemchange event
Thanx once again for your reply
CustomerOrdersScript.zip
5583.pdf
Michael
The onItemChange event passes the item to the event handler. On the item you can use the getName() method which will return the XPath. The XPath will include the replicant number.
HTH
Cheers
Michael
Migrateduser
Thanx for your post it helps
Edited by krishna1288 on 09/18/03 06:07 AM (server time).
Migrateduser
Hi,
Is there any events which fires when we delete existing replicant or adding another replicant.
Thanx in advance
Michael
No, but I believe there is a feature request for this.
Migrateduser
Thanx for your reply .Is there any work around .When i delete replicant i want to clear the content from that replicant.
when adding the replicant we can use onitemchange but when just deleting existing replicant is there any other workaround.
Thanx once again for your reply
Michael
I'm not sure if I understand exactly what you are trying to do.
However, when the replicant is deleted the content in its items is deleted also.
Any workarounds really depend on what problem you are trying to solve in the first place....
Migrateduser
Thanx for your info. You are right while deleting replicant it is deleting the content .
Thanx
Migrateduser
Hi,
Is there any way to know max.replicant number entered in dcr.
for example. If i have selected 4 four replicants while saving i want to know how many replicants i had selected.
Thanx in advance