Hello AppSheet,
Is there a way to add buttons to form views?
Thank you.
Tiffany
Solved! Go to Solution.
Nope.
The only workaround I can think of is to have instead of a form, have it go to a detail view with quick edit, and you can add in buttons.
But, bear in mind, if you go that route, EACH quick edit field queues an update to that row. So if you have 5 quick edit fields that get used, that is 5 separate updates to sync.
Yeah, this would only really work if your app uses delayed sync
Still five updates to sync.
Yep. In my app that Iโm developing as a digital menu, Iโm using two quick edit edits as buttons on a detail view to show what kind of options are available for that item. It doubles as being pre-selected if you choose to order that item. Those options are prefilled on the Form, but still changable. The only downside is, regardless of how I choose to do the sync, if a customer taps those two buttons several different times in a short period, the force sync I have after they add something to their cart has to wait for all those individual updates.
I could choose try and display these two fields as non-quick edits, but my problem with that is I canโt find a way to display it in a style that I find as attractive as the buttons.
Basically, quick edit fields are a double-edged sword.
The Form has a Form Saved Event:
Itโs a grouped action:
When you choose the Enum Button with the , it saves the form and goes to the Parentโs Detail View.
The condition of this Action is: CONTAINS([Enum],"๐พ")
When you choose the Enum Button with the , it saves the form and opens the same form again.
There is no condition in the Action, because the first Action will be skipped.
For the Enum column you can also use Images as values.
This could be something like this:
Thanks a lot @Fabian!
Iโm trying to replicate what you did. How did you configure the actions? Iโm confused as to what to do when I go to Behavior > Actions > Grouped: Execute a sequence of actions
In particular, I cannot โGo To Page_Detail Viewโ or anything comparable.
Here is another usecase:
I looked at your other use case. Something that complicates my form a little bit is that I replicated @GreenFluxโs sample app that turns an EnumList into individual line items, so I have this action under Form Saved:
(Thanks @GreenFlux)
You could try replacing the Form Saved action with a new, Grouped action to do both.
You would have to create your own actions for that. Then it will show up in the list.
LINKTOROW()
no, but you can able to manipulate the save button thru ACTION.
Workaround:
User | Count |
---|---|
33 | |
30 | |
29 | |
20 | |
18 |