• Resolved codimex

    (@codimex)


    Hi again!

    After bumping my head on a wall for two weeks, I’ve found an issue regarding conditions based on a datepicker field and language.

    I’m using a WPML. I have a form with a field based on a “day is / day is not” condition on a calendar field. When I embed via shortcode the form on a page in English, the condition works perfectly. But when I embed it on the Spanish version, the “day is / day is not” condition doesn’t work.

    The same happens with “month is / month is not” conditions, and probably every condition that somehow involves names of the month or names of the weekdays. The form is perfectly working, the console throws no errors, but, as I said, conditions involving names of months or days are not detected in Spanish (and I bet, also in every language other than English).

    Anyone has a fix for this? Thank you in advance!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    Hi @codimex ,

    I’m not able to replicate an issue with visibility conditions not working with Day is/not in WPML for translated pages. Could you please share a form export, so that we could check further regarding this and see whether it’s specifically with your form created?

    You can share the form export in the next reply using Google Drive, Dropbox or any such cloud services.

    Looking forward to your response.

    Kind Regards,
    Nithin

    Thread Starter codimex

    (@codimex)

    Hi, Nithin! Thank you for your quick response. I have created a basic form with the needed fields to reproduce the issue. As I said, when the form is embedded in an English page, it works perfectly, but it doesn’t work when it’s embedded in the Spanish version of the page.

    You can check it out here: https://drive.google.com/file/d/15XC2qtXms3wYqKZWPFMqr-kr_MhKtrsM/view.

    A possible explanation could be related with the jQuery datepicker “dayNamesMin” value, which I assume it’s “Lu, Ma, Mi,…” in Spanish, and the form is looking for a string in the format: “Mo, Tu, We,…”. I’ve noticed this issue occurs on my site since Forminator was translated into Spanish.

    Plugin Support Predrag – WPMU DEV Support

    (@wpmudev-support1)

    Hi @codimex,

    Apologies for the delay here, we have tested your export and could confirm the issue when day/month name changes with language.
    We have created a bug report for our devs so it can be addressed in future updates.

    Cheers,
    Predrag

    Thread Starter codimex

    (@codimex)

    Thank you, beautiful people!!! Please don’t take as long as usual to release updates for these bug fixes!

    Thread Starter codimex

    (@codimex)

    Hi! Sorry to re-up this old post. 1.14.12 version didn’t solve this problem for me. Can you confirm this on your end, or is it just me? The exported form I provided above is still valid to test.

    Thank you!!!

    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @codimex

    Sorry to hear the issue persists

    I see it should be fixed on this version but I pinged our QA team to double check it.

    Best Regards
    Patrick Freitas

    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @codimex

    Our QA team confirmed was able to replicate on 1.14.12 using some languages.

    There is a new fix that includes those planned to 1.5.1 which is already under development.

    Please, keep the plugin updated.
    Best Regards
    Patrick Freitas

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Datepicker conditions (day is, day is not, month is…) language error’ is closed to new replies.