I am trying to set up a contour formula and have successfully gotten everything except the submit button attached to the dictionary. My colleague told me I had to use either #submit or #Submit, but none of these seem to work.
Google tells me that it works in the earlier versions of contour, but what about 3.0.5? How do i do this?
Any chance of a quick code snippet of how to reference the Umbraco (not Umbraco.Form) currentPage model from within the \Umbraco\plugins\umbracoContour\Views\Form.cshtml ? Any use of @Umbraco.Field("pageName") errors.
Just FYI, I'm using MVC 4, Umbraco 6.0.0 & Contour 3.0.6.
Using dictionary items on the submit button
I am trying to set up a contour formula and have successfully gotten everything except the submit button attached to the dictionary. My colleague told me I had to use either #submit or #Submit, but none of these seem to work.
Google tells me that it works in the earlier versions of contour, but what about 3.0.5? How do i do this?
Comment author was deleted
Are you using the razor macro?
Yes, does the razor macro disable that functionality?
Comment author was deleted
Might have forgot to add that, will check
Comment author was deleted
Oops look like the button value is hardcoded, will update in next maintenance release
For a quick solution simply open the file \Umbraco\plugins\umbracoContour\Views\Form.cshtml and update to what you want it to be
Wow, I was pulling my hair out over this... Thanks for your reply Tim.
Comment author was deleted
Updated in the upcoming 3.0.6 release http://issues.umbraco.org/issue/CON-199
Hey Tim,
Any chance of a quick code snippet of how to reference the Umbraco (not Umbraco.Form) currentPage model from within the \Umbraco\plugins\umbracoContour\Views\Form.cshtml ? Any use of @Umbraco.Field("pageName") errors.
Just FYI, I'm using MVC 4, Umbraco 6.0.0 & Contour 3.0.6.
Cheers!
I reckon this should do it for anyone in the future:
@umbraco.library.GetDictionaryItem("YourDictionaryAlias")
is working on a reply...