Copied to clipboard

Flag this post as spam?

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


  • Sowndar M 54 posts 148 karma points
    Feb 05, 2022 @ 04:11
    Sowndar M
    0

    Magic strings on Umbraco Form 9.2 is not working

    I am using Umbraco 9 in our local environment. We are trying to get the Magic strings on a hidden field

    We have set Magic strings([@Url]) on default value. However Magic strings on the default value are not working. We have checked with other Magic strings as well. It doesn't work

    @await Umbraco.RenderMacroAsync("renderUmbracoForm", new {FormGuid="2ed8rf86-5774-4403-55ss-ff9b13ee2c28", FormTheme="", ExcludeScripts="1"})
    

    enter image description here

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Feb 18, 2022 @ 02:34
    Dennis Aaen
    1

    Hi Sowndar

    First of all thanks for using Umbraco 9 and Forms as well. I have just tried to see if I can reproduce what you are experiencing

    I am can confirm that I am seeing the same as you where the {@Url} is not working, it gives no value into the hidden field

    I have tested on the following version

    Umbraco 9.3.0

    Forms 9.2.1

    It would be fantastic if you can log the issue here https://github.com/umbraco/Umbraco.Forms.Issues/issues. So it can be fixed in one of the next releases of Umbraco Forms

    All the best,

    /Dennis

  • Andy Butland 422 posts 2334 karma points MVP 4x hq c-trib
    Mar 18, 2022 @ 09:25
Please Sign in or register to post replies

Write your reply to:

Draft