Tried 5 solutions, see clear explanation and documentation
Hi there, i need to create a multi-screen form that
- Shows one submit button and only when all required fields are filled, must consider hidden required fields
- Has multi-screen visibility logic
- Wipes itself after submission
I have read a lot of documentation and community posts. Here’s what I have tried and why it hasn’t worked, feel free to skip to solution E, the current contender:
A) Custom Form using unspecified container, visibility logic and “add row” action
Does not wipe old fields after submission, they persist when user returns to submit a new instance. Yes, this is clearly documented, see next attempted.
B) Custom Form using unspecified container, visibility logic and “add row” action followed by “set values to [clear value]” in a workflow
This is the workflow I built for this. Below is the original state of my data:
and following is my data after using this workflow:
Note that it preserves the data in the “this” row from the “Add Row” action, but somehow then the “this” row in the next action starts referring to the first row of the sheet rather than even the last row. I’m glad that it didn’t clear the just-submitted data, but this is not…better.
C) Custom Form using unspecified container, visibility logic and “add row” action followed by “set values to [clear value]” in an action row
Has two buttons, I only want one button. But it did clear the values!
D) Custom Form using unspecified container, visibility logic and “add row” action followed by “add row” action followed by “set values to [clear value]” in a workflow
I was hoping this would somehow adjust the “this” to referring to a new, non-submitted form instance? Not that this makes sense, but the behavior in solution B didn’t make sense to me either. It did not work, it did go a row down and write over the first cell of the second row with only the single required field in the form.
E) Form container using visibility logic
This has multiple screens, a single submission button, and wipes itself after submission. However, i experienced this bug where it dislikes having empty non-required fields at the end of the form. When I got rid of those fields to try to demonstrate proof of concept, it got rid of the bug BUT I then experience what can only be a “feature” given the multiple complaints over the last 5 years where the Submit button is allowed while hidden required fields are empty. Because it is a form container, I can’t hide this button and replace it with my own. I COULD reinstate the bug where it has the submit button be unavailable and supply my own, but then I a) have two buttons, one of which is unusable and looks like an unprofessional mistake and b) I don’t know if it will activate the wipe.
Ask for Help form actions workflows api #clearvalues




