Copied to clipboard

Flag this post as spam?

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


  • Nauman 98 posts 118 karma points
    Sep 20, 2010 @ 15:59
    Nauman
    0

    Define and get values of radion buttons in xslt

    Hi

    I need to have 2 radio buttons with value 0 and 1 in my xslt.

    How can I create radio buttons and then get the value of checked button on form submit within xslt?

    Nauman

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Sep 20, 2010 @ 16:20
    Dirk De Grave
    0

    Simple example to add radio buttons to your xslt (it's plain html, so you can just add those to your xslt without any modifications. If you need the value on submit of the form, use RequestForm('key') (available as umbraco.library:RequestForm('key')) from within xslt to find what value has been selected.

     

    Hope this helps.

    Regards,

    /Dirk

  • Nauman 98 posts 118 karma points
    Sep 21, 2010 @ 09:15
    Nauman
    0

    Thanks Dirk, I was working on the same lines, but RequestForm was not working on same xslt, but when I used it on another xslt, it worked. Thanks a lot anyway.

Please Sign in or register to post replies

Write your reply to:

Draft