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
    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

  • Comment author was deleted

    Jan 24, 2014 @ 10:50

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

Please Sign in or register to post replies

Write your reply to:

Draft