Hi Keyur,
You are correct - extract the form files and open Template.XML with, say,
Notepad. Locate the field for your Rich Text Control and then add the
necessary XML. So as an example, my Rich Text control is named field1, I've
added the word "Test" to the default value field but I want it to be bold.
So currently, in Template.XML I see this:
<my:field1>Test</my:field1>
In order to see this default text with a bold font, I modified this to the
following:
<my:field1><strong
xmlns="http://www.w3.org/1999/xhtml">Test</strong></my:field1>
I hope this helps!
Scott L. Heim
Microsoft Developer Support
This posting is provided "AS IS" with no warranties, and confers no rights
K''''ur - 11 Aug 2005 16:35 GMT
Thanks again scott, but my question still remains, where do I save the
template.xml after modifying. I tried it by saving it at the same location
where I extracted it, but it didnt worked.
Help.
Thanks,
Keyur
> Hi Keyur,
>
[quoted text clipped - 19 lines]
>
> This posting is provided "AS IS" with no warranties, and confers no rights
Scott L. Heim [MSFT] - 11 Aug 2005 22:14 GMT
Hi Keyur,
My apologies - I missed that part. Once you modify the Template.XML file,
you will need to right-click on Manifest.XSF, choose Design and then do a
File->Save As to re-save this as an XSN file.
Let me know if this works for you!
Best Regards,
Scott L. Heim
Microsoft Developer Support
This posting is provided "AS IS" with no warranties, and confers no rights
K''''ur - 12 Aug 2005 16:01 GMT
I got it. Thanks Scott. But one last doubt to confirm. Once we re-save the
manifest file as an XSN file, will that become the original file and can i
discard the previous original file from which I actually extracted all these
files.
> Hi Keyur,
>
[quoted text clipped - 10 lines]
>
> This posting is provided "AS IS" with no warranties, and confers no rights
Scott L. Heim [MSFT] - 12 Aug 2005 16:42 GMT
Hi Keyur,
When you open the Manifest.XSF file in Design View and choose File->Save
As, you can either create a new XSN file or simply overwrite your previous
XSN file...whichever you prefer.
Me personally? I am paranoid by heart, so I always keep backups after
making changes until I am sure I did everything correctly! <G>
Take care,
Scott L. Heim
Microsoft Developer Support
This posting is provided "AS IS" with no warranties, and confers no rights