Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Billy 55 posts 266 karma points c-trib
    Sep 28, 2022 @ 07:50
    Billy
    0

    Umbraco Forms translation parameters empty

    Hi,

    I've updated a forms installation from 10.0.3 to 10.1.2. After this update there seems to be an issue with the the validation messages.

    The form is configured to use a translation for the mandatory & invalid error messages.

    enter image description here

    The translations are present.

    enter image description here

    But in the front-end the label parameter is not filled anymore...

    enter image description here

    Anyone an idea what could cause this issue? Thanks!

  • Aaron Morf 15 posts 124 karma points
    Dec 15, 2022 @ 07:29
    Aaron Morf
    0

    Hi,

    Do you have any news regarding this topic? I have the same issue.

    running Umbraco 10.3.2 and Forms 10.2.1

  • Billy 55 posts 266 karma points c-trib
    Dec 15, 2022 @ 08:17
    Billy
    0

    Hi,

    I haven't been able to fix this issue yet. Also did an update to 10.2.1 and now the parameter is completely missing.

    enter image description here

    It should still be possible according to the new docs: https://docs.umbraco.com/umbraco-forms/editor/creating-a-form/form-settings

    I am using a custom theme and the form.cshtml is probably not up-to-date. The example from the docs https://docs.umbraco.com/umbraco-forms/developer/themes is only for v10.1.0

    So my guess is that the issue lies in form.cshtml. Don't know where to get my hands on the v10.2.1 form.cshtml.

  • Aaron Morf 15 posts 124 karma points
    Dec 15, 2022 @ 13:43
    Aaron Morf
    0

    I think that it is deeper inside the code... when using {0} directly in the mandatory message it works. but not when it is inside a translation.

    but thank you for your reply.

Please Sign in or register to post replies

Write your reply to:

Draft