More in this section

Forums / Developing with Sitefinity / Changing form behaviour via code

Changing form behaviour via code

2 posts, 0 answered
  1. Richard
    Richard avatar
    15 posts
    17 Aug 2012
    09 Mar 2012
    Link to this post

    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?

  2. Boyan Barnev
    Boyan Barnev avatar
    1429 posts
    30 Oct 2017
    14 Mar 2012
    Link to this post
    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.

    Boyan Barnev
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered