Fellow Bubblers, can anyone help!
After months I finally completed my website and was putting on some finishing touches … but I’ve now done something which messed up a major feature.
First, to explain my site, it allows users to create groups so they can find like minded people and meet in the real world. They can see the groups they’ve created from within their ‘my_groups’ area. They have an edit button (to edit their groups) and a ‘Reschedule’ button, which only shows when the groups meeting date has expired.
The ‘Reschedule’ button directs to the create_group
form and retains the input information so that the user can simply edit the meeting date and repost their group. It’s important to note that once they reschedule, all their group followers are notified.
Originally, I had the edit button directed to a ‘clone’ of the create_group
page but I managed to unify everything so that there is only onecreate_group
form and that serves for create, edit and reschedule groups. This was fantastic, I felt the whole site was cleaner and I have conditions so that relevant text would display based on if a user was creating, editing or rescheduling.
Ok, so to my problem.
I noticed that Bubble spotted some issues, namely that a few of my ‘Create a Group’ buttons were not directing to the create_group
page due to incorrect data being sent. When I tried to fix it, Bubble suggested that the data I should send should be Group
, which I think worked but then other pages said it needed to be User
and all of a sudden I had about 50 errors!
Finally, after hours of trial and error I got rid of all errors. Now thecreate_group
form successful creates a new group, but when I click on the edit or reschedule button I am seeing an empty create_group
form (it’s not remembering the input data and if I fill it out it creates a new group)?
Now users can not edit or reschedule their groups.
I am really lost with this as the site has become fairly large, I wonder if I am missunderstanding datatypes a little also. For example, the create_group form would have a ‘Group’ type because it’s creating a group, but I struggle with understanding why it doesn’t also need a ‘User’ type since it relates to a specific user.
I wonder if anyone more experienced could have a look, pleeease!? I’ve made it viewable …