Is there a way to “edit a thing?” without a repeating group. I would like to use the form that created the record to view and edit so I can print sales form etc. I have attached a screenshot of my sales form.
In Zoho Creator I would use a drop down to pull data like this:
Yes, there is a way to edit a thing without a repeating group; it is probably easiest if you use just a normal group. The group as the data source needs to be given what you are trying to edit.
I will go over a step by step example of how to implement this, with the thing being “Kittens”, as we all love kittens.
put all the inputs/dropdowns you need for editing, in a group with data type kitten. Add 2 states to this group by clicking the group then the i. States are used to pass on data in bubble.is E.g. something can be hidden if a state is no and shown if a state is yes, or a state can have a whole data entry saved in it.
You need a way to select what kitten you are editing. I use a repeating group, with do a search for kittens, and inside this the kittens text with an edit button. If you click edit, you can edit the kitten selected.
if you click the edit button, set the “edit mode on” state of the group from no to yes, and set the state of the group to the kitten that was selected. This will tell the group with the inputs that it should be used for editing instead of creating new entries and which kitten to edit.
In the group where you edit everything, have a “finish editing” button. Show this only if the state “edit mode on” of the group is yes. (The button to create a new entry can be hidden in this case)
In the group where you edit everything, under conditional, if edit mode is on data source= this group’s “kitten”. This lets you determine what kitten to edit.
In the inputs/dropdowns where the editing takes place, as the initial content have the current data saved to that kitten. This allows quick editing of the already existing data.
If you click the save button, use the workflow make changes to parent groups kitten, with everything equal to what is in the inputs you used for editing. Also, set the edit mode state back to no and empty the kitten that is being edited, so you can either input new data or edit a new kitten in the group now.