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 193 posts 469 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

  • Comment author was deleted

    Sep 07, 2015 @ 09:03

    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 193 posts 469 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

Please Sign in or register to post replies

Write your reply to:

Draft