You are currently viewing The form cannot be submitted due to validation errors, specifically related to a format issue when comparing two fields.

The form cannot be submitted due to validation errors, specifically related to a format issue when comparing two fields.

Description:

The values for “Price in Entry Currency” and “Fixed Price in Entry Currency” can be entered manually or imported from a file with decimal separators represented as dots. However, when there is an issue with the format, a red alert will appear.

image.png

The user will then fix the dots with commas and click out from the field or press Enter.

At this point the red validation alert is gone as it is expected.

image.png
The problem is when you hit Submit – then you are stuck because of validation error which is not right as the value is already fixed.

image.png

Somehow the form recognizes that the value does not contain dots and the red validation error disappears but on Submit validation error is detected wrongly.

image.png

If the action rule on the ​Price in Entry currency field (see below) is removed then the issue is resolved.

a)- ​Price in Entry currency

image.png

However, that’s the only way they have found to apply the comparison between both fields (Price in Entry Currency and Fixed Price in Entry Currency), whenever any of the those fields is changed, one needs to be greater that the other one.

b)- Fixed price in Entry currency

image.png

Works with Composer, Evolve

Cause:

The issue is with rule “Execute rules for field Number_FixedPriceCurrency”

image.png

Immediate Workaround

Sharing a fix for this can have impacts in many other solutions using the same rule and would require testing efforts.

For now, you can disable the rule “Execute rules for field Number_FixedPriceCurrency” and copy the other two rules from the source field “Number_FixedPriceCurrency” and copy them here.

BEFORE:

image.png

 

AFTER:

image.png

 

Leave a Reply