Copied to clipboard

Flag this post as spam?

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


  • zell 37 posts 90 karma points
    Jun 15, 2015 @ 01:27
    zell
    0

    Accessing Contour Form Fields

    hi, maybe a stupid question.. but how do i access the form fields without calling the render? i.e. i want to display the checkbox list options differently for a Form or at least display those options before the form is rendered.

    cheers,

  • Comment author was deleted

    Jun 15, 2015 @ 08:20

    Hey,

    You can use the api for that :)

    Take a look at Umbraco.Forms.Data.Storage.FormStorage, that has a GetForm method (will return a form object and once you have that you should be able to iterate the fields and prevalues)

Please Sign in or register to post replies

Write your reply to:

Draft