Posted: April 9, 2024 at 1:39 am
My ticket selector is halfway down my page. If I just click ‘Register’ without selecting a ticket qty the following occurs:
The user never sees the message and is not even aware it’s there. I’ve tried adding a mutationObserver to element the errors are appended to to scroll to it but the errors exist before my script runs. How can I either, move the errors to the same container as the ticket selector, or scroll to them instead of the ticket selector. |
|
Hi Mike, You can try navigating to your root folder of WordPress installation and find the wp-config.php and look for this code there:
Make sure it is set to false and save the changes. If still facing issues please share a screenshot of the issue you are facing. |
|
wow, really!?! Espresso Notices (as per title of ticket..) are front-end messages output to users. Your response indicates you are not familiar with Event Espresso and also didn’t read the ticket. As expected, if you click ‘register’ without selecting a ticket qty, you receive an error message… |
|
Hi there, Sorry for the confusion above. Can you please share a direct link to the page where exactly you are facing the issue so that I can check that for you? Looking forward to helping you. |
|
…it’s the default behaviour of event espresso. You can see it on any EE event page. |
|
For anyone else having this issue. I’ve solved it as follows. The following functions wrap the error notices in a single div. This can then be statically position at the bottom of the screen.
|
|
Thank you so much for letting us know the steps you made. If you need anything, feel free to reach us again. have a wonderful day! |
|
The support post ‘How to move/or scroll to, Espresso Notices (Error Messages)’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.