More in this section
Forums / General Discussions / how to create poll in multiple language??

how to create poll in multiple language??

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. Ketan
    Ketan avatar
    29 posts
    28 Mar 2014
    29 May 2014
    Link to this post

    whenever i create the poll in multi-language  it will give me error.

    but in single language it will work perfectly.

    error look like a below.

    Wrong custom field 'FormMultipleChoice_C001' for type 'Telerik.Sitefinity.DynamicTypes.Model.sf_poll_ar'

    this name:>> FormMultipleChoice_C001 its a developer name. to work in back-end.

    but its name automatically changed when language changed.

    so how can i resolve that.

    or any idea how can i get this Developer Name (>> FormMultipleChoice_C001
    ) in back-end code:???  


  2. Nikola Zagorchev
    Nikola Zagorchev avatar
    424 posts
    19 Apr 2017
    31 May 2014
    Link to this post
    Hello Ketan,

    I was able to create a form with default and custom form widgets in multiple languages successfully, so could you please give us more details for the error you receive and steps to reproduce it.? Do you receive the error when creating the form or when it is associated in the poll widget?
    You can change the name for developers within the form control, or check the default suffix which is generated for every control. By default it is _C001. You can see it from Advanced settings -> ClientTemplateSuffix. You can then get or set the name for developers this way:
    if (control.GetType() == typeof(FormCheckboxes))
          FormCheckboxes checkBoxControl = control as FormCheckboxes;
          string nameForDev = checkBoxControl.DataFieldName;

    Nikola Zagorchev
    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 Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
2 posts, 0 answered