I need to set several contact forms on a website using Contour. No problem with that.
But I can't find in developer docs how to list all this forms, for example a dropdownlist in a .NET usercontrol. Is there a method in the contour library to get all forms in contour ?
List forms in a .NET usercontrol
Hello,
I need to set several contact forms on a website using Contour. No problem with that.
But I can't find in developer docs how to list all this forms, for example a dropdownlist in a .NET usercontrol. Is there a method in the contour library to get all forms in contour ?
Thanks for your help.
Comment author was deleted
Sure, if you reference umbraco.forms.core you should be able to access all the contour forms.
Will be something like
umbraco.forms.core.data.formstorage s = new umbraco.forms.core.data.formstorage();
var forms = s.getallforms();
is working on a reply...