Copied to clipboard

Flag this post as spam?

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


  • mikkel 143 posts 365 karma points
    Jul 20, 2019 @ 06:54
    mikkel
    0

    Is there a way to save the prevalues from radiobuttonlist to db

    Hey. I sit and practice on dropdowns, checkboxex and radiobuttons. now I have reached radiobuttons. when I create them so they can be seen in the front end, then I would like to save the answer in back office, but I simply cannot find any guides on how I do. Are there any of you who know where to find such a guide?

  • Ali Z 31 posts 173 karma points
    Jul 22, 2019 @ 06:52
    Ali Z
    0

    What do you want to do exactly ?

    If you have radiobuttonlist as a data type in your backoffice, by default you have to initialize it yourself manually. There are plugins that exists that allows you to initialize them from a sql request, see: https://our.umbraco.com/packages/backoffice-extensions/nupickers/

    If you have a radiobutton list on a custom web page, and you want to store the result of the user in a custom table in database, then you can check "Surface Controllers" here: https://our.umbraco.com/documentation/Implementation/Controllers/

Please Sign in or register to post replies

Write your reply to:

Draft