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 10059 karma points MVP 2x admin c-trib
    Jan 24, 2014 @ 10:46
    Ismail Mayat
    0

    PreValue Sources

    Quick question regarding prevalue source. If you setup prevalue source to umbraco nodes then in the view FieldType.RadioButtonList where we have

    <input type="radio" name="@Model.Id" id="@string.Concat(Model.Id,"_",pv.Id)" value="@pv.Value" 
    

    My question, is pv.Id the node id of the prevalue source? So in theory i could create my own view for my form and during the loop get the id and then the node and get some data of it namely i am looking to add html5 data-attributes with values from the node.

    Regards

    Ismail

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Jan 24, 2014 @ 10:50
    Tim Geyssens
    100

    Yeah in this case it will be the node id (if using the umbraco node prevalues)

  • 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