Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Thanks again for your quick response before with my other query, hope you can help me again, I promises his will be the last time :-)
Layout = "_Root.cshtml";
// Get a view model for the picked form.
var pickedForm = Model.Content.GetPropertyValue<ConfiguredFormInfo>("pick");
var vm = formulate.api.Rendering.GetFormViewModel(pickedForm.FormId, pickedForm.LayoutId,
var pickedForm2 = Model.Content.GetPropertyValue<ConfiguredFormInfo>("pick2");
var vm2 = formulate.api.Rendering.GetFormViewModel(pickedForm2.FormId, pickedForm2.LayoutId,
and further down the page 2 instances of the forms:
Any help would be much appreciated, thanks again.
Not sure what's up with that. Maybe double check the properties to ensure they're picking the correct configured forms, then check each configured form to ensure they're picking the correct layout, then check each layout to ensure they're picking the correct forms.
You ever get it working? If not, I can take a deeper look.
Thanks for getting back in touch, I managed to get the above code working in the end, just reinstalled the plugin again, the code may of been cached on the server.
Thanks again, great addition to Umbraco.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted