November 10, 2015 in Developer Connection
create() method calls the buildCreateForm(), which you can overload in your item class, to define say the form's class (ipsForm_vertical is the default), say you want to switch it to ipsForm_horizontal or add additional class's, etc.
However, in the content/controller.php, edit(), inits the form class, and there isn't an easy way to switch the form's style class, other than overloading the entire method and recreating it. it would be helpful if edit also used the buildCreateForm() method or another one that we can overload to do what we want with the form for edit.
I think that makes sense - I'll take a look
This topic is now archived and is closed to further replies.
Started 16 hours ago
Started 1 hour ago
Started 16 minutes ago