Just installed formulate and stuck at the stage where I am redendering the form. Followed the setup in the simple form guide but get an error on this line on page load
CS0246: The type or namespace name 'ConfiguredFormInfo' could not be found (are you missing a using directive or an assembly reference?)
Looks like your code snippet isn't showing up correctly (probably due to the brackets being interpreted as HTML). Looking at the source code of this page, it looks like you have lowercased the ConfiguredFormInfo class name (or maybe that's just a typo). This is what that line should say:
var pickedForm = Model.Content.GetPropertyValue<ConfiguredFormInfo>("FormConfig");
I'd also check the casing on that property alias. If Umbraco generated that for you, it'd typically be "formConfig" (lowercase first letter). Also be sure you have this at the top of the file:
First Run error
Hi,
Just installed formulate and stuck at the stage where I am redendering the form. Followed the setup in the simple form guide but get an error on this line on page load
CS0246: The type or namespace name 'ConfiguredFormInfo' could not be found (are you missing a using directive or an assembly reference?)
var pickedForm = Model.Content.GetPropertyValue
Can anyone help please?
Hi Colin,
Looks like your code snippet isn't showing up correctly (probably due to the brackets being interpreted as HTML). Looking at the source code of this page, it looks like you have lowercased the
ConfiguredFormInfo
class name (or maybe that's just a typo). This is what that line should say:I'd also check the casing on that property alias. If Umbraco generated that for you, it'd typically be "formConfig" (lowercase first letter). Also be sure you have this at the top of the file:
Thanks Nicholas, yes my code never displayed properly as I had the line as you described it.
The
@using formulate.app.Types
was the missing link.many thanks for your help
is working on a reply...