Copied to clipboard

Flag this post as spam?

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


  • Tom Maton 387 posts 660 karma points
    Jul 22, 2009 @ 19:53
    Tom Maton
    0

    Dictionary Item into submit text

    Hi All,

    I am creating a multilingal site (15 languages) and so far so good with the dictionary items.

    The only problem I get is the text for the submit buttons I cant seem to get the dictionary items to pull through.

    This is my code

    [code]

    <input type="submit" id="submit" name="submit" value="<umbraco:Item field="#Send" runat="server"></umbraco:Item>">

    [/code]

    Thanks

    Tom

  • Sebastiaan Janssen 5061 posts 15544 karma points MVP admin hq
    Jul 22, 2009 @ 20:01
    Sebastiaan Janssen
    1

    Replace the single quotes in value="<umb...."  with single quotes: 

     

    <input type="submit" id="submit" name="submit" value='<umbraco:Item field="#Send" runat="server"></umbraco:Item>'>
  • Tom Maton 387 posts 660 karma points
    Jul 22, 2009 @ 20:20
    Tom Maton
    0

    Wow that was quick!!!!

    Cheers Sebastiaan that worked a treat

  • Sebastiaan Janssen 5061 posts 15544 karma points MVP admin hq
    Jul 22, 2009 @ 20:24
    Sebastiaan Janssen
    100

    Great! :)

    You can mark my answer as the solution so that others know that they don't have to answer it and can find a good solution. Use the green checkmark to do that.

  • Tom Maton 387 posts 660 karma points
    Jul 22, 2009 @ 23:14
    Tom Maton
    0

    I thought I did that on your inital response..... hmmm thats weird.

    Well done it again anyway. :)

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies