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.
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
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?
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
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
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
is working on a reply...