Hello,
In my adaptive form I am using rich text fields (Text Box component with Rich Text enabled) and need to set the default font family for the submitted XML. I am using the guideBridge.getDataXML function on form submission. Currently upon submitting, the default font family is Times New Roman. How can it be set to another font such as Arial? Below is an example of the XML:
<?xml version="1.0" encoding="UTF-8"?>
<formData xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<testRichTextField>
<body xfa:APIVersion="2.7.0.0">
<p style="font-family:Times New Roman;font-size:12pt;letter-spacing:0pt;color:#000000;text-align:left;">
<span>Test</span>
</p>
</body>
</testRichTextField>
<stateOverrides xfa:dataNode="dataGroup" />
</formData>
I have tried editing the font-family in the css for the rich text field, but the changes do not reflect in the XML.
Thank you
Solved! Go to Solution.
Views
Replies
Total Likes
As per GuideBridge API, there is no method available to set the font type of the submitted dataXML. You have to customize the submitted dataXML post-processing, as discussed here.
As per GuideBridge API, there is no method available to set the font type of the submitted dataXML. You have to customize the submitted dataXML post-processing, as discussed here.
I was able to edit the xml post processing. Thank you
Views
Replies
Total Likes