We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

sfdt fieldType

Thread ID:





145518 Jun 26,2019 12:09 PM UTC Jun 27,2019 11:38 AM UTC JavaScript - EJ 2 1
Tags: DocumentEditor
Asked On June 26, 2019 12:09 PM UTC


We are testing the DocumentEditor Control for my application. 
We were able to create merge fields by using the code:

fieldName = 'EmailID';
fieldCode = 'MERGEFIELD  ' + fieldName + '  \\* MERGEFORMAT ';
.editor.insertField(fieldCode, '«' + fieldName + '»');

And on the .sfdt file we found that the control has created the following:

{"characterFormat":{},"text":"MERGEFIELD  EmailID  \\* MERGEFORMAT"},

Now, we are trying to find on the opened document the Field or the result string we inserted on the document. So far, we are using the search module to find the result string ("«EmailID»"), but to achieve our needs, to enable the field edition, we are having some problems.




Ramya Thirugnanam [Syncfusion]
Replied On June 27, 2019 11:38 AM UTC

Hi Rodbrca, 
Thanks for contacting Syncfusion support. 
Please refer to the response for your queries as below. 
Toggle field: 
Could you please confirm us whether your requirement is to enable field editing to refer the toggle field code options in MS word or want to replace the field?  
We have considered this as feature request. We have logged the feature request for it. We will implement this feature in any of our upcoming releases. We will get back to you when this feature is implemented. 
Now, you can track the status of your request, review the proposed resolution timeline, and contact us for any further inquiries through below link.      
To replace the field  
Please select the field and then use insertText API in editor module to replace the selected text with given API.  
Could you please confirm the provided details satisfied your requirement? Otherwise provide the details information regarding your requirement. So that we investigate further and provide you solution at earliest.  
Ramya T 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon