How to use Custom form as a widget

Topics: Administration
Oct 5, 2015 at 5:45 PM

I am using Orchard v.
Can anyone please tell me how can I use a custom form as a widget on pages in a website ?
So that I can reuse my custom form on multiple pages.

Thanks in Advance.
Oct 6, 2015 at 6:53 AM
The CustomFormWidget is available out of the box. When you enable the custom forms module you there is a new widget available to place anywhere.
Oct 6, 2015 at 6:38 PM
I think i have deleted it by mistake, my hard luck :(
Can we get the CustomFormWidget back in my Content Types. I have also tried creating it from dashboard but it is not providing me the functionality to use the custom form as a widget.

Please help, if someone have any idea.

Oct 7, 2015 at 1:01 PM
If you look at the Migrations.cs of the Orchard.CustomForms project you can see which parts need to be attached:
  • WidgetPart
  • CommonPart
  • IdentityPart
  • CustomFormPart
With setting: Stereotype - Widget