I have a form with two steps/pages. The first step has some check boxes on it and the second step's questions should change depending on which boxes where checked on the first page. However whatever I try in the conditional bit for the sencond steps questions makes no difference and all the questions are displayed all the time.
Is this possible? I can't even get the conditional logic to work on a single page form. Is there something I need to add/do to make conditions work?
1) Conditional Support with XSLT? Yes or No? If yes, how?
2) Our recaptcha is throwing the following error on our site with Razor embed, any suggestions?
The partial view '/umbraco/plugins/umbracoContour/Views/Fieldtype.recaptcha.cshtml' was not found or no view engine supports the searched locations. The following locations were searched: /umbraco/plugins/umbracoContour/Views/Fieldtype.recaptcha.cshtml
I'm still having an issue with some conditional elements. Namely trying to use a dropdown list to trigger a textfield to appear.
I notice in the code that the "value" of a menu item is a long string and wonder if this has something to do with it. With that, I used the <option value="xxxx-xxx-xxxx"> code and still couldn't get the conditional to work. I've also tried the value we've entered into the form, no results.
The package version inside of our Umbraco site says 1.1.11 but I know that's not right. I'm nearly 100% sure it's 3.0.6 since it's (according to the change log) the first version with conditionals.
Great, be sure to clear browser cache after the update since you'll need to be running the new js and the old might be cached in the browser, any other issues just let me know :)
Contour 3.0 conditional logic not working
Hi,
I have a form with two steps/pages. The first step has some check boxes on it and the second step's questions should change depending on which boxes where checked on the first page. However whatever I try in the conditional bit for the sencond steps questions makes no difference and all the questions are displayed all the time.
Is this possible? I can't even get the conditional logic to work on a single page form. Is there something I need to add/do to make conditions work?
Thanks
Rachael
I too am having issues with the conditional logic. It worked prior to us upgrading to 4.11.1 and Contour 3, but now it doesn't work at all.
Comment author was deleted
For the conditions, you need to make sure you are outputting the razor macro and not the usercontrol one (conditions aren't supported by that one).
Could you tell me if the conditions work when previewing the form from the contour section in umbraco?
Cheers,
Tim
Comment author was deleted
Moved this topic to the Contour forum
We are using the usercontrols. However, when we had the other razor script active, we couldn't get the form to output.
This is the code we have for the MvcRenderContourForm.cshtml:
Comment author was deleted
@Greg, did you add the scripts? check http://umbraco.com/follow-us/blog-archive/2012/11/9/getting-started-with-contour-30-beta.aspx
You'll need to add
A few last questions:
1) Conditional Support with XSLT? Yes or No? If yes, how?
2) Our recaptcha is throwing the following error on our site with Razor embed, any suggestions?
The partial view '/umbraco/plugins/umbracoContour/Views/Fieldtype.recaptcha.cshtml' was not found or no view engine supports the searched locations. The following locations were searched: /umbraco/plugins/umbracoContour/Views/Fieldtype.recaptcha.cshtml
Comment author was deleted
1) Conditional could work if you respect some classes and id's
2) For recaptcha upgrade to 3.0.7 WIP that has a built in recaptcha field http://nightly.umbraco.org/Umbraco%20Contour/3.0.7%20WIP/
I'm still having an issue with some conditional elements. Namely trying to use a dropdown list to trigger a textfield to appear.
I notice in the code that the "value" of a menu item is a long string and wonder if this has something to do with it. With that, I used the <option value="xxxx-xxx-xxxx"> code and still couldn't get the conditional to work. I've also tried the value we've entered into the form, no results.
Radio buttons will work, but drop downs will not.
Comment author was deleted
@Greg what is the Contour version you are running? Think dropdowns didn't work at first but has been fixed in the mean time
The package version inside of our Umbraco site says 1.1.11 but I know that's not right. I'm nearly 100% sure it's 3.0.6 since it's (according to the change log) the first version with conditionals.
And actually, checkboxes aren't working for conditional fields either. Seems like ONLY radio buttons have the ability to do so.
Edit: Here's the page I'm trying to get working - http://www.rose-hulman.edu/admissions-financial-aid/early-planning/request-info.aspx
I'm hoping to get the sports (baseball ATM) to reveal fields for position, honors, awards, etc.
Comment author was deleted
From what I can see you are running an older version so upgrading to 3.0.6 should take care of the issue :)
Cheers,
Tim
Comment author was deleted
Upgrade instructions: http://our.sandbox.umbraco.org/projects/umbraco-pro/contour/documentation/Installation/Upgrade
O..k...that was stupid easy to find, no wonder I didn't know it was there. But you are right, we are on 3.0.1.
Hopefully this will get us moving now! Thank you.
Comment author was deleted
Great, be sure to clear browser cache after the update since you'll need to be running the new js and the old might be cached in the browser, any other issues just let me know :)
We are using
"Umbraco Contour version 3.0.21" and still have this issue. Have tried Razor macro and still checkbox conditions are not working.
is working on a reply...