Hmm I don't see any logic around the "show field if" settings in our code or in the HTML. This seems to be managed entirely by Umbraco. For example, our HTML of the text field can be found here and does not do anything with it, it just renders an <input> element with validation/error message attributes (and of course the correct type like "number").
I'm afraid this might be hidden somewhere in the Umbraco Forms JavaScript code where they might be looking only at input[type="text"] elements or something like that. This is just my first idea, but because we have no influence on these "show this field" conditions I am afraid we cannot fix this in our package. If you can have a look at the Forms JavaScript to see how this show/hide is implemented perhaps we can find a solution.
Perplex - Numeric - Condition is not workng
Hi
When we set a form field to show when another numeric field is greater than a number, the condition does not work.
[Umbraco version 7.6.14 assembly: 1.0.7276.19666]
[Umbraco Forms: "6.0.8"]
But If I set the type as Text and try equal condition (eg: is ) then it is working.
Any idea why is it not working for the numeric field?
Thanks
Hi Albion,
Hmm I don't see any logic around the "show field if" settings in our code or in the HTML. This seems to be managed entirely by Umbraco. For example, our HTML of the text field can be found here and does not do anything with it, it just renders an
<input>
element with validation/error message attributes (and of course the correcttype
like"number"
).I'm afraid this might be hidden somewhere in the Umbraco Forms JavaScript code where they might be looking only at
input[type="text"]
elements or something like that. This is just my first idea, but because we have no influence on these "show this field" conditions I am afraid we cannot fix this in our package. If you can have a look at the Forms JavaScript to see how this show/hide is implemented perhaps we can find a solution.is working on a reply...