Still not working for guest registration on this end. I set up a new ride to test on here:
hidden link
Registering when logged in with my admin user worked. That's the registration you see on the page. But registering as a guest still didn't work.
Here is the Registration done on that ride when logged in:
[Test Ride] Registration – [Kenny] [05/18/2023]
hidden link
You can see that the relationship worked with that submission and the Ride title is included in the Registration title (first set of brackets).
And here is the Registration done on the same ride as a guest:
[] Registration – [Test Guest] [05/18/2023]
hidden link
The relationship to the Ride is still not getting established for guest Registrations.
------------------------------------------------------------------------------------
I don't know if the additional information I'm going to give below will be helpful to figuring it out or not, but I'll provide it in case it does point you to something helpful.
I initially set up this Test Ride with the date January 1, 2023 so it would not appear on the calendar pages. We have the calendar pages to show future rides, not past rides. When I set it up with that past date, the Registration worked the same way for the logged in Admin account as it is doing for guest Registations. Here is the Registration done with the logged in admin account then.
[] Registration – [Kenny] [05/18/2023]
hidden link
The relationship didn't work there either.
Then I changed the start date of the ride to 07/07/2023 just to see what would happen. After I did that, the logged in user was able to Register. That's *highly strange* to me that the start date field would impact this, so I thought I'd let you know about it here.
Note that it is perfectly OK if it stays like that because we don't need people to be able to Register for past rides they access through our archive. It's better if they can't register for past rides and seeing this is leading me to probably wanting to add conditional display for the Registration form to only show it on the Ride pages so long as the Rides are future Rides. I'll do that if/after we can get everything working. I just thought I'd give you this information in case it will help with determining why the relationship isn't working for Guest user Registrations. The Guest user submission is not the only unique condition causing this breakage of the relationship.