You can see there is a closing bracket followed immediately by an open bracket with no && or ||?? The conditions that I have setup are shown in the screenshot attached:
Any ideas, is this a bug and if so can it be resolved? The version of Umbraco is 6.0.5 and the Contour version is 3.0.23.WIP-Build.17
Also tried with 4 conditions and it worked like expected, mind sending an export of the form (right click form and select export)? Then I should be able to reproduce
That's no problem, the only issue is that the form is a very large 17 page multi-step form with custom fieldtypes determining the next/prev page as we originally discussed on another post. Where should I send the form export which is particularly big?
Hi Tim, any progress on this issue? The project I am working on has a deadline for two weeks time so could really do with a fix to this issue asap. thanks in advance.
Ok found the issue, it's because you have setup an empty condition, of course this needs to be handled better by Contour so it isn't possible but for now you can simply remove or update that rule
It's on the TLR1 allowance actual amount field on page 13
Thanks for this, however I am a little confused as my form does not have a TLR1 allowance actual amount field on page 13, additionally I have checked all of the fields on that page and non of the conditions are blank. I have emailed you an export of the form again in case you have an older version.
Multiple conditional arguments issue
I am experiencing a problem with a Contour field that has four conditional fields associated with it, I am receiving a Javascript error saying
When I view the source of the page and more specifically the generated conditional argument javascript I see the following:
You will notice that this does not look to be well formed, more specifically on line 14
You can see there is a closing bracket followed immediately by an open bracket with no && or ||?? The conditions that I have setup are shown in the screenshot attached:
Any ideas, is this a bug and if so can it be resolved? The version of Umbraco is 6.0.5 and the Contour version is 3.0.23.WIP-Build.17
Comment author was deleted
Must be a bug, I'll take a look and get back to you (should have a fix today/tomorrow)
Thanks Tim, that would be great and full marks for such a fast response!
Comment author was deleted
Also tried with 4 conditions and it worked like expected, mind sending an export of the form (right click form and select export)? Then I should be able to reproduce
That's no problem, the only issue is that the form is a very large 17 page multi-step form with custom fieldtypes determining the next/prev page as we originally discussed on another post. Where should I send the form export which is particularly big?
Comment author was deleted
Just send it to my email so tg at umbraco dot com, will see if I can reproduce the error then
Email with attachments has been sent to above address. Thanks.
Comment author was deleted
Thanks, I'll keep you posted
Comment author was deleted
Ok I can reproduce the behaviour, it's probably a bug with nested conditions, looking into a fix now
Thanks Tim, I am glad you managed to reproduce it.
Comment author was deleted
Well actually I'm getting a different js error but think it will be related
Hi Tim,
Did you manage to get any further in finding a resolution to this issue?
Thanks.
Comment author was deleted
Still in progress, hope to have it resolved this week
Hi Tim, any progress on this issue? The project I am working on has a deadline for two weeks time so could really do with a fix to this issue asap. thanks in advance.
Comment author was deleted
Sorry it is taking a bit longer then expected (and had some other todos on my list) it's on my agenda for next week so I'll keep you updated
Comment author was deleted
Ok found the issue, it's because you have setup an empty condition, of course this needs to be handled better by Contour so it isn't possible but for now you can simply remove or update that rule
It's on the TLR1 allowance actual amount field on page 13
Hi Tim,
Thanks for this, however I am a little confused as my form does not have a TLR1 allowance actual amount field on page 13, additionally I have checked all of the fields on that page and non of the conditions are blank. I have emailed you an export of the form again in case you have an older version.
Thanks,
Graham
Comment author was deleted
Could you drop the following file in the /umbraco/plugins/umbracocontour/views/ directory and see if that fixes the issue?
https://www.dropbox.com/s/sgdix4m439fxayd/Script.cshtml?dl=0
Thanks,
Tim
Hi Tim,
That seems to have fixed the issue, thanks very much for looking into it for me.
Graham
Comment author was deleted
Sweet, thanks for confirming!
is working on a reply...