SFDO-Community / Summit-Events-App

Salesforce Event System developed at the University of St. Thomas
BSD 3-Clause "New" or "Revised" License
59 stars 56 forks source link

[FEATURE] - Guest Registration Screen restrict user from pushing Next when entered Guest Info is not Registered #514

Closed mcke0100 closed 1 year ago

mcke0100 commented 1 year ago

This is a similar request to issue 502 which helped by turning the +Register Guest button blue once the user enters guest information. We still have concerns that our registrants miss the +Register Guest button and click the Next button without pressing the +Register Guest button.

I propose that if someone types anything in the First Name and/or Last name that the Next button turns white and is disabled until the registrant clicks the + Register Guest button. At that time the Next button turns blue again. If the user enters another first name and/or last name, the color of those two buttons switch again.

Let me know if you need any additional/clearer details on what I'm suggesting here. We will use customizable text on this screen to help instruct the user to push the +Register Guest button prior to pushing the Next button as a temporary solution. Our registrants are forgetting to push the +Register Guest button with the current configuration.

Thanks for your consideration of this enhancement!

SummitEventsGuestRegButton

tcdahlberg commented 1 year ago

Hi @mcke0100,

I currently have in a branch a solution that might help with this, but I would love some feedback. What happens in my branch is that if information is filled in on the guest form and you hit the "Next" button a dialog modal pops up and asks if you want to continue. If you continue the form is blanked out and you progress to the next page. If you hit cancel it remains on the page with the information still in the form.

image

I would love feedback. First if you think this is a good solutions and then on the default language in the dialog. I will be adding the ability to customize the dialog language, but getting a good default is always good for the bulk of users.

What do you think?

mcke0100 commented 1 year ago

Thad.

I like this functionality a lot. I included Sue on this discussion as she may have an opinion. I think the message is good for a default. I really like the first sentence “You have unsaved guest information entered.” I am good with the second sentence but I am wondering if more information may help. “Do you wish to continue without Saving? Select Cancel to go back and add the current guest to your registration.”

Amy

mcke0100 commented 1 year ago

My preference would be “You have unsaved Guest information entered. Select Cancel to finish adding your guests”.

Then I would have the Cancel button blue, as that is what we’re suggesting to do.

Sue

tcdahlberg commented 1 year ago

Here you go: image I also made it so you can customize the message in the modal as well as the button text via the event setup record. The default is what is appearing in the screenshot now.

mcke0100 commented 1 year ago

This is great. Thanks Thad.

Amy

rdblake21 commented 1 year ago

Tested in the Branch and works great!

walt0019 commented 1 year ago

Sue Kolles and I confimred it looked good through Metecho.

tcdahlberg commented 1 year ago

Included in beta release 0.31.0.1

tcdahlberg commented 1 year ago

Included in production release 0.31.0.1