Copied to clipboard

Flag this post as spam?

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


  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    Oct 12, 2016 @ 05:59
    Ismail Mayat
    0

    Dictionary for Validation

    I am using Umbraco 7.5.3 and Umbraco forms 4.3.2. In the settings section for a form we have validation messages of format:

    Please provide a value for {0}
    

    The form I am creating is for multilingual website. So I want to use dictionary here but I also still want the string replace at {0}. I am assuming I can do something like #ErrorMessage where ErrorMessage is dictionary key. However in the value for that dictionarty key can i do

    Please provide a value for {0}
    

    Will this work?

    Regards

    Ismail

  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    Oct 12, 2016 @ 09:17
    Ismail Mayat
    2

    So in answer to my own question you can create dictionary item with {0} and then put that dictionary value in the settings section of the form and it works.

Please Sign in or register to post replies

Write your reply to:

Draft