Possible to Avoid Storing Data for Umbraco Forms Entries?
I may be working on a project that will have some forms created with Umbraco Forms. However one requirement is that data never be stored for entries submitted through those forms (instead, they will be stored via an API, which I will probably do using a custom workflow step).
I would like to avoid doing something weird like creating a database trigger that deletes the data after it has been inserted (I am unsure if that would cause some unintended side-effect, such as storing the data in the transaction log). Is this possible with Umbraco Forms?
Not sure how it works in Forms vs Contour, but in the latter the forms are run through some Javascript validation before calling the $.submit() function - could replace the submit with a call to an API endpoint instead.
That's in /umbraco/plugins/umbracocontour/scripts/frontend/contourform.js - file might not even exist in Forms.
Yes, using different workflow steps will store the records to Contour (and I assume Umbraco Forms is the same).
And I'd like to avoid subverting parts of Contour, so I'd like to avoid posting to my own controller/action method (e.g., I'd lose server-side validation and workflow steps).
What I'd really like to know is if anybody knows what Datasources are and if they'd be suitable to avoid storing form submissions to the database.
I'm guessing that Datasources gives you the ability to pre-populate fields (such as selects and radios) based on a custom database source that you supply. If that's the case, then you're definitely barking up the wrong tree there.
Possible to Avoid Storing Data for Umbraco Forms Entries?
I may be working on a project that will have some forms created with Umbraco Forms. However one requirement is that data never be stored for entries submitted through those forms (instead, they will be stored via an API, which I will probably do using a custom workflow step).
I was thinking a custom Datasource could accomplish this (e.g., the "Store Nowhere Datasource"), but I'm not even sure what a datasource is, as the documentation for it results in a 404: https://our.umbraco.org/Documentation/Products/UmbracoForms/Editor/Creating-Forms-Based-on-Datasources/ (linked from https://our.umbraco.org/Documentation/Products/UmbracoForms/Editor/)
I would like to avoid doing something weird like creating a database trigger that deletes the data after it has been inserted (I am unsure if that would cause some unintended side-effect, such as storing the data in the transaction log). Is this possible with Umbraco Forms?
Not sure how it works in Forms vs Contour, but in the latter the forms are run through some Javascript validation before calling the $.submit() function - could replace the submit with a call to an API endpoint instead.
That's in /umbraco/plugins/umbracocontour/scripts/frontend/contourform.js - file might not even exist in Forms.
There's also a workflow option to post form to URL, but I'm not sure if that still persists a copy in Umbraco
Yes, using different workflow steps will store the records to Contour (and I assume Umbraco Forms is the same).
And I'd like to avoid subverting parts of Contour, so I'd like to avoid posting to my own controller/action method (e.g., I'd lose server-side validation and workflow steps).
What I'd really like to know is if anybody knows what Datasources are and if they'd be suitable to avoid storing form submissions to the database.
I'm guessing that Datasources gives you the ability to pre-populate fields (such as selects and radios) based on a custom database source that you supply. If that's the case, then you're definitely barking up the wrong tree there.
is working on a reply...