Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
TeamSite
TeamSite, LiveSite and OpenDeploy
SetValue() method not working correctly for TinyMCE textarea.
Migrateduser
In my DCT, I have a TinyMCE textarea.
I wrote the following code to set the default value in it on event OnReplicantAdded.
function UpdateFields(item){
var entries = item.getChildren();
for (var j=0; j IWDatacapture.getItem(entries.getName()+"/point").setValue(“My default value”);
alert(IWDatacapture.getItem(entries.getName()+"/point").getValue()));
}
}
IWEventRegistry.addItemHandler("/Content/Part ","OnReplicantAdded", UpdateFields);
Here I am unable to set the my default value, however I can get the value using
IWDatacapture.getItem(entries.getName()+"/point").getValue());
If I change the field to normal textarea (which means not external-editor) the same code is working fine. But I want the TinyMCE editor there.
How can I set the default value for Tinymce editor textarea field,
Please suggest.
Thank you in advance
Find more posts tagged with
Comments
There are no comments yet