+1-888-365-2779
Try Now
More in this section

Forums / Sitefinity SDK / Forms Module and Dynamic Data

Forms Module and Dynamic Data

2 posts, 0 answered
  1. Shane
    Shane avatar
    8 posts
    Registered:
    28 Jan 2010
    11 Sep 2010
    Link to this post
    Hi,

    I'm sure you must be aware but if you create a form the database creates a table however string fields are created as an nvarchar and limited to 255 characters. This is also the case if i create the table using your Dynamic Data API (which I like btw, it will certainly help me port my Custom Form Builder module to Sitefinity 4). I hope you are planning to allow developers (and users of the Form Builder) to specify the max length of the string, don't won't form responses being cut short as this is presently the case. 

    On the plus side I think you guys have done a good job with the UI and the fact you have the administration pages editable in Sitefinity as well, looking forward to more Dynamic Data and a first class Newsletter module!

    Regards,
    Shane
  2. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    13 Sep 2010
    Link to this post
    Hi Shane,

    ***EDIT***
    This has been already implemented. You can take a look at the attached video on how to achieve this. When you add fields to the form you should click edit go to Advanced, find the MetaField property and click it. From there you will be able to set the DBType and DBLength. Leaving the length field blank will create it for the maximum size.

    Regards,
    Radoslav Georgiev
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
2 posts, 0 answered