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.
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)
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
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)
is working on a reply...