Hello,
I am using the Syncfusion Document Editor and want to implement conditional fields, similar to Microsoft Word's IF fields. Specifically, I am looking to display content conditionally within the document based on the values of merge fields, such as inserting custom messages or displaying different sections of content.
In Microsoft Word, this functionality is achievable by using the IF field syntax:
{ IF { MERGEFIELD FieldName } = "Condition" "Text if True" "Text if False" }
For example:
{ IF { MERGEFIELD Status } = "Active" "Welcome, active member!" "Please renew your membership." }
This would display a customized message based on the "Status" field value.
My questions:
-
Does Syncfusion Document Editor currently support IF fields or any type of conditional logic within the document? If yes, could you provide details or documentation on how to implement it?
-
If conditional fields are not supported, would this feature be on the roadmap for future releases, or could it be implemented?
Thank you for your help and any information on this capability!
Best regards,
Ana Vasilcoiu