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
Hi all,
I need a pair of linked dropdownlists on a Contour form (ie Category and subcategory)
I'm looking to build a custom fieldtype or form that queries an API on the Category change event.
Can I put my javascript in the form.cshtml (or even build a fieldtype that has the 2 dropdowns and js)?
thanks
Jay
Comment author was deleted
best is to just add some js, since a field is linked to a caption so having 2 controls in 1 will only give you a single caption
Hello again,
So, I've created a form with a couple pf dropdowns but I'm getting some js errors:
It's v3.0.21. Any tips? tia
make sure the include the script references http://umbraco.com/follow-us/blog-archive/2012/11/9/getting-started-with-contour-30-beta.aspx
Hi Tim,
Thanks for that.
I checked the js includes and I have found a conflict between jquery and prototype:
In devtools I can access the contour selects using the full jQuery syntax but not using the $ syntax.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Custom javascript in custom form
Hi all,
I need a pair of linked dropdownlists on a Contour form (ie Category and subcategory)
I'm looking to build a custom fieldtype or form that queries an API on the Category change event.
Can I put my javascript in the form.cshtml (or even build a fieldtype that has the 2 dropdowns and js)?
thanks
Jay
Comment author was deleted
best is to just add some js, since a field is linked to a caption so having 2 controls in 1 will only give you a single caption
Hello again,
So, I've created a form with a couple pf dropdowns but I'm getting some js errors:
It's v3.0.21. Any tips? tia
Comment author was deleted
make sure the include the script references http://umbraco.com/follow-us/blog-archive/2012/11/9/getting-started-with-contour-30-beta.aspx
Hi Tim,
Thanks for that.
I checked the js includes and I have found a conflict between jquery and prototype:
In devtools I can access the contour selects using the full jQuery syntax but not using the $ syntax.
is working on a reply...