We are upgrading from CMS 11 and CMS 12. One of the many problems that we have encountered is related to forms. We have a custom FormContainerBlock (that is heavily used on our sites). It was implemented a long time ago by developers who no longer are on the team and we who are have limited experience with this part of the product. I've tried to find documentation about how to work with custom form containers in CMS 12, but I'm either really bad at googling this or the available documentation is very sparse. Basically, the only useful page I've found so far is How to create custom FormContainerBlock in CMS 12 – Support Help Center (optimizely.com), which really doesn't contain much information.
- Are there any better/additional sources for information about this subject?
- Is it true what is said on the aforementioned page, that to create a custom form container you make a copy of the file FormContainerBlock.cshtml in folder \modules_protected\EPiServer.Forms\EPiServer.Forms.zip\Views\ElementBlocks\Components\FormContainerBlock? This might be what my predecessor once upon a time did, but it just doesn't seem very future proof as our current version is no longer compatible and quite different from the .cshtml in the new Zip file. This makes me wonder if there could be a better alternative?
Any input on this would be greatly appreciated