+1-888-365-2779
Try Now
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?

2 posts, 0 answered
  1. David
    David avatar
    99 posts
    Registered:
    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)

    Questions:
    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
    Registered:
    19 Dec 2012
    07 Oct 2013 in reply to David
    Link to this post
    David,

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