Is there no text box field for a Dex form?

Hi,
Creating a dex form is easy, however, there appears to be no way to add simple text to the form (e.g. explanatory text).
I assume could modify the output with html
Am I missing something?

thanks

What has this to do with the original question?

-aj

I dont know if you use the way to define a form like this, but if, then set the mode of widget to

z3c.form.interfaces.DISPLAY_MODE

Here is a little Example:

class ITestForm(model.Schema):
    name = schema.TextLine(
        title=_(u'name', default=u'Field1'),
        required=False)
    
    description = schema.Text(
        title=_(u'description', default=u'Description'),
        default=_(u"<p>Some input text <br/> Plone Rocks</p>"),
        required=False)
        
class TestForm(z3c.form.form.Form):
    fields = z3c.form.field.Fields(ITestForm)
    fields['description'].widgetFactory = WysiwygFieldWidget
    ignoreContext = True
    label = _(u"Testform")
    description = _(u"Testform description line")    
    def updateWidgets(self):
        super(TestForm, self).updateWidgets()
        self.widgets['description'].mode = z3c.form.interfaces.DISPLAY_MODE
        
    @z3c.form.button.buttonAndHandler(u'Send')
    def handleApply(self, action):
        data, errors = self.extractData()
        if errors:
            return

# The View -> define in browser/configure.zcml            
TestView = TestForm

Hope that helps. You can reorder the fields like described in the docs
Best Regards, Jan