how to retrieve field IDs? (how to perform math on form fields?)
Let's say you have a form field that captures the quantity of something, then you need to multiply that quantity by the price. How does one go about that in Contour?
In a static form this would look something like this:
It's not really clear to me how to retrieve the IDs of each individual field in in the Contour implementation. I can obviously inspect the fields and copy&paste the field ID that way, but there ought to be an easier way to obtain the relevant IDs programatically?
I am not familiar with MVC which is likely the biggest hurdle in getting this resolved.
I get that in order to do anything to a form I need to create a customized view for it? In /umbraco\plugins\umbracoContour\Views\Forms\? Or is that view just for the markup customization? So lost ... :(
how to retrieve field IDs? (how to perform math on form fields?)
Let's say you have a form field that captures the quantity of something, then you need to multiply that quantity by the price. How does one go about that in Contour?
In a static form this would look something like this:
It's not really clear to me how to retrieve the IDs of each individual field in in the Contour implementation. I can obviously inspect the fields and copy&paste the field ID that way, but there ought to be an easier way to obtain the relevant IDs programatically?
I am not familiar with MVC which is likely the biggest hurdle in getting this resolved.
I get that in order to do anything to a form I need to create a customized view for it?
In /umbraco\plugins\umbracoContour\Views\Forms\? Or is that view just for the markup customization? So lost ... :(
is working on a reply...