November Happy Hour will be moved to Thursday December 5th.

Extending default EPIServer.Forms template

Vote:
 

Hi there,

I am trying to find out how involved it might be to extend the default forms template with a new tab and custom properties. The goal would be that every time a new form is created, the new properties and default settings would be included and set by default.

I know this is possible on page types but just curious if there is anything with the EPIServer.Forms plug-in that might prohibit this?

#308082
Sep 06, 2023 20:44
Vote:
 

Hi neworigin,

It is exactly the same as page types.

Forms is based upon a special type of block.

You can create your own custom form block just make sure to inherit from FormContainerBlock.

Then you can add your custom properties just like pages and blocks and set defaults.

Thanks

Paul

#308085
Sep 06, 2023 22:44
Vote:
 

Thought that would be the case. Thanks!

#308210
Sep 08, 2023 15:15
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.