We have used the form export / import feature as a way of copying forms. This seems to work OK for general form elements, however it seems to lose conditions on import.
So, the .ucf file I initially export seems to have conditions in it. This is the condition tag for one of the fields that is failing:
I then import it and the conditions are not present in Contour. I then export the copy to look at the ucf file and the same form field is now like this:
I'm working on an Umbraco 4.9.1 install with Contour version 3.0.4
I have a similar problem as above although it ONLY occurrs when using the Form Picker Data Type which has been added to a docType.
In other words, I can create and customize a form in the Contour form editor, export it to a .ucf file, place it in the templates directory under Contour, then use the Umbraco back office/Contour form section to choose the template and create a new instance of the form. It works great. However, when I use the form picker on a document type, there are two choices "Create" and "Use Existing". The problem occurrs when I want to use "Create" directly from the new document in the "Content" section. On Create, I am prompted with the option to choose an existing template, but when I do so and create the form, I am presented with a version that is missing a lot of the template contents.
I can post the "before" .ucf and "after" .ucf if it will help, but if the answer is the same as above (i.e. "Upgrade to 3.0.10") then I'm guessing there's no point since 3.0.10 won't run in Umbraco 4.9.1?
I tried upgrading to 3.0.6 but it didn't fix the issues.
Form export / import losing conditions
Hi
We have used the form export / import feature as a way of copying forms. This seems to work OK for general form elements, however it seems to lose conditions on import.
So, the .ucf file I initially export seems to have conditions in it. This is the condition tag for one of the fields that is failing:
<Condition>
<Id>ad86161a-a792-4c73-bb71-5eccfd5f7830</Id>
<Field>fa6798d9-aee1-47ef-af3d-69e2b0c8b419</Field>
<Enabled>true</Enabled>
<ActionType>Show</ActionType>
<LogicType>All</LogicType>
<Rules>
<FieldConditionRule>
<Id>2875225b-b09f-4a60-b4e1-a28042eb81cf</Id>
<FieldCondition>ad86161a-a792-4c73-bb71-5eccfd5f7830</FieldCondition>
<Field>7c28b9e2-ded8-4842-894f-0a0c5412019e</Field>
<Operator>Is</Operator>
<Value>text goes here</Value>
</FieldConditionRule>
</Rules>
</Condition>
I then import it and the conditions are not present in Contour. I then export the copy to look at the ucf file and the same form field is now like this:
<Condition>
<Id>62990eb3-4ec2-49b1-a0f5-6317f2a42253</Id>
<Field>0c9050af-dbea-4add-bf92-2a3dbfb50b3c</Field>
<Enabled>true</Enabled>
<ActionType>Show</ActionType>
<LogicType>All</LogicType>
<Rules />
</Condition>
This is a really important feature for us, as we are making copies for translation into other languages and all forms have many conditions.
Many thanks
Claire
Comment author was deleted
Fixed in 3.0.10 coming within days
Hello Tim,
Is it possible to fix this without upgrading to 3.0.10?
Thanks,
Fabs
Comment author was deleted
Hey Fabiano, nope you'll need to upgrade to at least 3.0.10
Hi Tim,
I'm working on an Umbraco 4.9.1 install with Contour version 3.0.4
I have a similar problem as above although it ONLY occurrs when using the Form Picker Data Type which has been added to a docType.
In other words, I can create and customize a form in the Contour form editor, export it to a .ucf file, place it in the templates directory under Contour, then use the Umbraco back office/Contour form section to choose the template and create a new instance of the form. It works great. However, when I use the form picker on a document type, there are two choices "Create" and "Use Existing". The problem occurrs when I want to use "Create" directly from the new document in the "Content" section. On Create, I am prompted with the option to choose an existing template, but when I do so and create the form, I am presented with a version that is missing a lot of the template contents.
I can post the "before" .ucf and "after" .ucf if it will help, but if the answer is the same as above (i.e. "Upgrade to 3.0.10") then I'm guessing there's no point since 3.0.10 won't run in Umbraco 4.9.1?
I tried upgrading to 3.0.6 but it didn't fix the issues.
According to this:
http://our.umbraco.org/projects/umbraco-pro/contour
"For version lower then 4.7 use 1.1.9 for version between 4.7 and 4.10 use 3.0.6 for everything else just use the latest stable"
3.0.6 is the cut-off.
Comment author was deleted
Hi Jacob,
Mind sending the export so I can test it ? You can mail to tg at umbraco dot com
Thanks
I'm getting that same error in Umbraco v7.2.8 Contour v3.0.27
Infact strangely when I "edit" the form all the conditions are there but they aren't working on the form on the published page
Actually, even stranger, just noticed that it seems to only not be working in Chrome!
Arrrrghggghhh!!! Caching in Chrome strikes me again!
Cleared all the cache, restarted the application pool and it's ok again
is working on a reply...