• Resolved Alex

    (@alexandronalin)


    Hi,
    I would like to report a problem that I found on a form where I inserted a text field input TEXT1.
    The value is checked in a condition created in the behavior tab.
    If I insert the condition “TEXT1 is 0.123” (or any decimal value) in the conditional field and I write any value in TEXT1 (numeric or alphanumeric), the condition check fails considering any value correct.
    I cannot change the text fields into numeric fields because I do not want deal with decimal separator comma or dot.
    There is probably an error in the management of the data type in the condition.

    Thanks

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter Alex

    (@alexandronalin)

    A clarification.
    if I insert any value that starts with 0 (zero) it is validated.
    It seems that the conditional check occurs on a number data type even if the input is a text box.

    Thread Starter Alex

    (@alexandronalin)

    Another clarification. The condition checks only the value before the decimal point.
    In practice if the condition is 3.8 for the TEXT1 (text) field, it is valid for all inputs 3.8, 3.456, 3.2198673, 3adrt, 3bfsasda

    Plugin Support Kris – WPMU DEV Support

    (@wpmudevsupport13)

    Hi @alexandronalin

    I hope you are doing well today.

    If I understand correctly you use conditional logic in different fields, and that field should show up only if that TEXT-1 value is == your value.

    I made multiple tests with TEXT-1 and HTML-1 fields and HTML-1 shows up only if my condition is set up as:

    • is 0.123
    • is 3.8
    • is 0,123
    • is 3,8

    HTML is hidden again if I type:

    • is 0.1233
    • is 3.8a
    • is 0,123q
    • is 3,833

    There must be something not right on your site or what is possible as well, I misunderstand that query.

    To be on the same page with your issue, please export your form, upload it to Google Drive, and share a link in your next reply. Make sure this file will be public available.

    Kind Regards,
    Kris

    Thread Starter Alex

    (@alexandronalin)

    dear,
    I probably didn’t explain myself well.
    the condition is not applied to a field of the “fields tab”, but it is applied to a field of the “behavior tab”

    Thread Starter Alex

    (@alexandronalin)

    https://drive.google.com/file/d/1-VVCOuUC8L3GzFQzjyBXl8iR5tKPN7Sa/view?usp=sharing

    if input value is 0.123, the output must be “ok” else “not ok”

    Every 0.xyz value is “ok” –> wrong!

    even with 0.abc !!!

    thank you

    Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    Hi @alexandronalin ,

    I hope you’re doing well and thanks for the further explanation.

    I was able to replicate the issue and reported it to the Forminator developers, I’m afraid I can’t give you an ETA of when this could be solved but I would recommend keeping your plugin updated as the fix will be released in a future version of Forminator.

    Best Regards,
    Williams Valerio

    Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    Hi @alexandronalin,

    Since we have identified this as a bug and we can acknowledge this will be fixed in a future update, I’ll mark it as resolved for now.

    For any new feature updates, you can get notifications on our progress by subscribing to our roadmap at https://wpmudev.com/roadmap/

    Once new versions are released, any pertinent changes will be described in the changelog, which you can find at:

    https://www.ads-software.com/plugins/forminator/#developers

    Kind Regards,

    Nithin

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.