All,

maybe a trivial problem, but I'm unable to make a file upload mandatory in an editwizard (for a builder derived from attachments). I already have the *dtrequired* attribute in place like this:

   <form-schema>
           <title>Document upload</title>
           <field name="title" dtrequired="true"/>
           <field name="description"/>
           <field name="date" ftype="hidden-date"/>
           <field name="handle" dtrequired="true"/>
           <field name="author"/>
           <field name="summary" rows="10"/>
   </form-schema>


However, even when it's declared as required, nothing is reflected of that in wizard. User can still choose not to upload a file, just fill in the rest of the mandatory fields and save all. All required fields are shown in red (such as the title field), except the handle field.


Anyone got a solution?

--
Met vriendelijke groet,
Ted Vinke

First8 BV
Groenestraat 294
6531 JC Nijmegen
[EMAIL PROTECTED]




Reply via email to