Saving Multiple rows at once #8278
Unanswered
insomniacj93
asked this question in
Help
Replies: 1 comment 1 reply
-
Hey @insomniacj93 62 actions - wow! I don't think I'm fully grasping the use case here. Would you mind sharing your app export to support@budibase.com ? And/or maybe some extra screenshots of your form and the state you expect would help to! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I've been using the Continue if/ Stop if solution to save multiple rows at once.
The issue I'm facing now is that with this kind of solution I can't add a Navigate to or Update field value (to disable the form for e.g.), leaving the user at the same form, able to save again (creating double entries in db) or even change the inputs and create an even greater mess.
The necessity behind this solution is that I need to register each quantity with a different id (e.g. id301 : 45). I rely on up to 30 different form fields for each (id#1, id#2, ... / quantity#1, quantity#2, ...) and check if the very next one is = to the default value ( 0 ). I ended up with 62 actions on a single press of a button (no problem there as budibase seems to take it like a champ!) But besides seeming a little bit rudimentary, leaving the user just there after everything is saved isn't a good practice at all.
I tried using automations too, with automations I could simply save the 30 rows (saving both values to db) and a Navigate to after it, but that means that budibase will be applying the trigger 30x when we only used 10 for example, the 20 extra actions had no purpose and are registered in the loggs.
I just wish there was a way to restrict user input after the rows are saved.
Thank you in advance!
Beta Was this translation helpful? Give feedback.
All reactions