Copied to clipboard

Flag this post as spam?

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

  • lori ryan 239 posts 573 karma points
    Nov 04, 2020 @ 16:11
    lori ryan

    form submissions on a separate database

    Hi Nicholas

    Reposting from Github

    "Can we store form submissions on a separate database as apposed to the main umbraco database? And still use the formulate functionality to manage the form submissions? "

    Just wondering if you could elobrate on the "sort of", thanks in advance

  • Nicholas Westby 2054 posts 7100 karma points c-trib
    Nov 04, 2020 @ 16:36
    Nicholas Westby

    Hi Lori,

    Yes and no. The yes is that you can create a custom form submission handler that stores the data where you like (e.g., a different database). Because Formulate doesn't automatically store form submissions anywhere, you can be sure they will only be stored where you tell them to.

    In order to view those submissions, you'd have to create your own form submission dashboard. You could start by looking at Formulate's code for inspiration.

    The no is that you can't currently use Formulate's built-in form submission section to view submissions from a different database.

    I say "can't currently" because there is a feature I'd really like to implement (or have somebody else implement) some day:

    Screenshot of the Data Sources root node of Formulate.

    The idea behind data sources is exactly what you describe. That is, the ability to be more flexible about where data is stored and retrieved. If this is something you are interested in implementing in the core of Formulate, let me know and I'll give you some tips for where to start.

Please Sign in or register to post replies

Write your reply to: