More in this section
Forums / Developing with Sitefinity / Custom dropdownlist form field - How do you handle Text and Value?

Custom dropdownlist form field - How do you handle Text and Value?

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. David
    David avatar
    99 posts
    06 Sep 2012
    10 Sep 2013
    Link to this post
    I would like to create a custom form field using Sitefinity Thunder with the following requirements:

    1. When saving, stores the dropdown's selected value (ID) in the Sitefinity database
    2. When viewing and exporting form responses from the back office, it display the selected text (not the ID)

    1. Is there any code samples that include this scenario?
    2. Is there any documentation or blog articles that explain how to code this scenario?
    3. If there aren't any, can you please post a code sample?
  2. Jonathan
    Jonathan avatar
    119 posts
    19 Dec 2012
    07 Oct 2013 in reply to David
    Link to this post

    Here is some documentation about creating custom form controls
    Custom Form Controls
2 posts, 0 answered