Usage of CMS:FormCategory

Stefan Lorenz asked on June 15, 2014 05:37

Hi,

I created a alternative form for one of my document types and want to group three fields together, so I used a CMS:FormCategory control. Unfortunately the included child controls don't show up:

<cms:FormCategory runat="server" ID="grpContact" CategoryTitle="Contact" DefaultFieldLayout="ThreeColumns">
    <cms:FormField runat="server" ID="fPhone" Field="Phone"/>
    <cms:FormField runat="server" ID="fMobile" Field="Mobile" />
    <cms:FormField runat="server" ID="fEmail" Field="Email" />
</cms:FormCategory>

Shouldn't it work that way?

If I add the control without children (<cms:FormCategory... />), it shows the category header, but of course no fields inside...

Recent Answers


Stefan Lorenz answered on June 15, 2014 06:07

Guess that was a bug, in 8.0.11 it's running. Though, the DefaultFieldLayout seems to have no effect at all.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.