This Popup that contains and displays Monday to Sunday is a repeating group and inside it is also a repeating group for Start time and End Time which I was tasked to when I press + then it should add a new start time and end time for that particular day I’ve got that figured out already but the problem is on how do I save it
@rednasyl
checkout plugin “Input RG Values • BEP”
Another option is using on input change event to save the input value to a custom state (list) that might be created on the group row inside the repeating group.
Can you explain a little more about your setup? What is the purpose of the Start / End Time (Business Opening hours for a registered Business on you application?
What exactly is your data structure represented here? Is Monday to Sunday a Thing stored in a Thing of type Business or an Option Set, or simply a collection of 7 Dates?
Is the Start Time / End Time one element each and therefore stored in a repeating group? What is the ‘+’ Button nested in?
So I’m working with a listing where this kind of listing’s availability is set within that start time and end time like opening hours and closing hours
The Monday to Sunday is inside a Repeating group and Monday to Sunday are an option set
and Yes Start Time and End Time is also stored in a repeating group hence why it is nested along with the +
Sorry for another question: In which data field and as what representation do you want to store start / end time?
Further, I dont really understand the necessity to store the Start / End Time selector & Button in a nested repeating group. If you want multiple availabilities for one day, you could just add a repeating group within the Group of Day ‘x’ where Data source is Listing's Availabilities:filtered by:day of current cell below the Start End time selector & Button that represents entries already done there & show that one if there RG’s List:count > 0.
I see the following possibility for data structure:
Listing:
|— Availability: (Field with a list of Things)
| | — av1
| | | — day: Monday (entry of Option Set)
| | | — Start Time: 10:00 (entry of Option Set (I'm assuming)
| | | — End Time: 11:00 (entry of Option Set (I'm assuming)
| |
| | — av2
| | | — day: Monday (entry of Option Set)
| | | — Start Time: 11:00 (entry of Option Set (I'm assuming)
| | | — End Time: 12:00 (entry of Option Set (I'm assuming)
|
|— Other Data Fields with Values:
==> The solution here would be to create a workflow on the ‘+’ button to create a new Thing ‘Availability’ and then append it to the Availability Field of the listing.
Yes unfortunately I will be reconstructing everything because it seems like I structed this thing wrong, would you still be here to help me out if I came back?
On your solution I have separate file for the purpose to not just mess up the main file and it’s kind of close to what you showed me though the UI is different
In my Calendar Scheduling Template I have a dynamic Popup that gets sent the specific Day whe it is clicked. Then I allow a maximum of 3 time ranges in the Popup to save to the Day and just set the Workflows based on how many Time Ranges are visible in the popup.
Another way you could do this is with a Plugin, there are some that let you trigger a Workflow from outside a Repeating Group and it runs actions within each repeating group cell. I think Orchestra was one I liked using in the past, but you will need to look into whats available as it has been a while since I have used any of those.