adding rich text to custom element

R

redog6

Please can anyone advise me. I have a custom schema with an element
form_purpose - I want to be able to create a form based on my custom
schema but add rich text to the form_purpose value such as hyperlinks.
When I generate up the form from my schema there is no option to
convert the standard text box to a rich text box. I would appreciate
any advice.
Regards
Redge
 
S

S.Y.M. Wong-A-Ton

For the element to be recognized as a rich text field, it has to have the
following structure:

<xsd:element name="form_purpose">
<xsd:complexType mixed="true">
<xsd:sequence>
<xsd:any minOccurs="0" maxOccurs="unbounded"
namespace="http://www.w3.org/1999/xhtml" processContents="lax"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top