Changing form behaviour via code
Hi,
I want to create an upload form for my users, and whilst it is possible via a Widget, I would prefer to use the in-built Sitefinity Form module features to implement the form (and give the design team power to change the layout).
I need to create an instance of a dynamic module content class via the details inputted into the form.
Would it be possible for me to implement file upload and integration with a Module Builder module from the form?
Thanks,
Rich
Hello Rich,
That's a tough one, we do not have a. Upload control for Sitefintiy FormBuilder yet, however we're currently working on developing a solution for the upcoming releases.
Concerning instantiating a dynamic module content item upon submitting the form what you can do is override the defualt FormsControl and subscribe to BeforeFormAction
event which will allow you to access the user filled form data. For more information on how you can achieve this please take a look at this blog post.
Greetings,
Boyan Barnev
the Telerik team