Copied to clipboard

Flag this post as spam?

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


  • pbl_dk 150 posts 551 karma points
    Feb 02, 2018 @ 22:38
    pbl_dk
    0

    Create content based on drop down

    Hi there.

    Dont know if this at all is possible in Forms. But we want to build an ad system with Umbraco Forms. I have created the form with drop down choices of "Watersports" and "Skiing". Based on either of those choices, umbraco should create a new content node in either:

    /site/ads/watersports
    or
    /site/ads/skiing

    Is that possible with Xpath like $site/ads/ @some-id-based-on-dropdown-choice..

    enter image description here

  • Alex Skrypnyk 6163 posts 24143 karma points MVP 8x admin c-trib
    Feb 03, 2018 @ 09:03
    Alex Skrypnyk
    100

    Hi Elitenet

    I think it's better to write own form workflow that will do the job for you. Check out documentation for custom workflow - https://our.umbraco.org/documentation/Add-ons/UmbracoForms/Developer/Extending/Adding-a-Workflowtype

    Alex

  • pbl_dk 150 posts 551 karma points
    Feb 03, 2018 @ 13:39
    pbl_dk
    0

    Thanks Alex. I will give it a try. :-)

Please Sign in or register to post replies

Write your reply to:

Draft