I’ve developed an sqlite plugin that creates a new form action ‘sqlite’ and takes form data and puts into a table (eg. people).
The plugin works fine. Except I want to have an intermediate step. So the user sees the form and has two buttons and
If the user clicks on , then the form is processed again with the data being sent to the database.
I cannot figure out how to get the extra step.
I have tried putting an intermediate process, eg.
form:
name: xx
fields:
-name: ff
type: text
buttons:
-submit
type: submit
process:
- sqlite
table: people
- sqliteConfirm
This works except it executes immediately, that is, the data from one step is not passed to the next process.
I’ve tried a couple of different ways, but can’t find an approach that works.
Any suggestions?