Copied to clipboard

Flag this post as spam?

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


  • Thomas Beckert 176 posts 441 karma points
    Sep 06, 2015 @ 13:56
    Thomas Beckert
    0

    Dynamic Content in Dropdownlist Contour / Umbraco Forms

    Hi,

    is it possible to fill a dropdownlist or checkboxlist in a form depending on the node, that renders the form?

    What I want to do:

    write a macro-form by which the user can register to an event. An event can have several dates (the child-nodes of the event-node represent the dates). So when I call an event, I want to have the dates (child-nodes) listed in a dropdownlist of the form.

    How can I realise this or is it even possible?

    Best regards -

    Tom

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Sep 07, 2015 @ 09:03
    Tim Geyssens
    0

    Sounds like you need a prevalue source, create a new one of the type XPath, type the xpath that will return the correct nodes and then use the prevalue source on your form

  • Thomas Beckert 176 posts 441 karma points
    Sep 07, 2015 @ 15:42
    Thomas Beckert
    0

    This works great, thank you. But I just got the next question. I want to put the name of the CurrentPage into a hiddenfield. I only can fill in a DefaultValue. Is it also possible to fill it with dynamic data?

    Best regards -

    Tom

  • 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