Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Magnus Söderlund 19 posts 79 karma points
    Jan 17, 2014 @ 14:23
    Magnus Söderlund
    0

    New datatype using the html5 <datalist>?

    Hello.

    Im missing the functionality of allowing user-added values to my dropdowns as of right now. I've been asked to create a simple data-type where the editor is a textbox and a dropdown. So that users can supply their free text values if none of the dropdown values apply to the situation. However i just came across <datalist> (http://www.w3schools.com/tags/tryit.asp?filename=tryhtml5_datalist) and it seems to be exactly what i need in a data editor. 

    Is there anyone who have made a data type using this? I've never actually created a data type at all. And i'm not certain where to begin using MVC. All examples ive found are using webforms.

    Anything pointing me in the right direction would be appreciated.

    Thanks in advance.

  • Ismail Mayat 4511 posts 10091 karma points MVP 2x admin c-trib
    Jan 20, 2014 @ 10:20
    Ismail Mayat
    100

    Magnus,

    What version of umbraco are you using? If its pre7 then webforms is the only way to create data types. In v7 you have the angular js goodness which makes creating datatypes a breeze.

    Regards

    Ismail

  • Magnus Söderlund 19 posts 79 karma points
    Jan 20, 2014 @ 10:22
    Magnus Söderlund
    0

    Srry i had problems posting and this became a duplicate (altouhg the forum told me it couldnt be posted because of errors). 

Please Sign in or register to post replies

Write your reply to:

Draft