No message after submission

When my registration submission form is filled out and the Submit button is clicked, the database is correctly updated, but the successful submission message is not displayed. Likewise, for a bad submission, no error statement is displayed. This used to work, and the messages are installed, so I probably did something dumb…
Thanks in advance for any advice.

By the sounds of it you are using a standard Submit Button from the Wix Editor itself.
https://support.wix.com/en/article/adding-a-submit-button-to-your-form

This is not part of Wix Corvid and you would be better suited going through Wix Support themselves for more help on this issue.
https://support.wix.com/en/article/contacting-wix-support

If you have indeed actually used code on a button to save your user inputs and you haven’t used a submit button or Wix Forms app, then please come back and post up more about what code you have used etc.

Thanks, givemeawhiskey - I’ll keep the forums separate…

I am having this same problem with my submit button. now that i have added code to my button my error messages are no longer displayed. is there something in my coding throwing it off?

that was hard for my eyes to read…

import wixUsers from ‘wix-users’;
import wixLocation from ‘wix-location’;

$w.onReady( function () {
$w(‘#loginButton’).onClick( function () {
let email = $w(‘#email’).value;
let password = $w(‘#password’).value;
wixUsers.login(email, password)
.then(() => {

        wixLocation.to('https://www.unlockmydeal.com'); 
    }) 
}) 

})
{ let isUserLoggedIn = wixUsers.loggedIn; // true
//Add your code for this event here:
}

@unlockmydeal To implement a custom login we recommend that you follow the guidelines under the Login Page section in this tutorial: https://support.wix.com/en/article/corvid-tutorial-building-your-own-members-area

Remember that this code forum is always here if and when you do need it.

@unlockmydeal
As Sam states above, you will need to do your own custom login and signup lightboxes using the normal Wix Button, you can’t use the Wix Submit Button and then try to overwrite the buttons own settings in code as that won’t work.

I have also used that same tutorial that Sam links to as a starting point for a members page on a website that I have done too, so the tutorial is a great example that you can use and modify it to suit your own needs.

As for your login lightbox code, it should be something like this.

import wixUsers from 'wix-users';
import wixLocation from 'wix-location';
import wixWindow from 'wix-window';

$w.onReady(function () {
 $w("#forgotPassword").onClick( (event) => {
   //wixWindow.lightbox.close()
   wixUsers.promptForgotPassword()
   .then( ( ) => {
   //
   } )
    .catch( (err) => {
 let errorMsg = err;  //"The user closed the forgot password dialog"
    });
 });
});

export function loginButton_click(event) {

 let email = $w("#email").value;
 let password = $w("#password").value;

 wixUsers.login(email, password)
   .then( () => {
     console.log("User is logged in");
     wixLocation.to("/account/my-account");  //Change the URL ending to whatever page you want to send the user to after they log in.
   } )
    .catch( (err) => {
     console.log(err);
     $w("#errorMessage").expand();  // You can delete this line if you are not going to add an error message.  Use a regular text element set to 'collapse on load' from the Properties Panel.
   } ); 
}

@givemeawhisky Thanks for the code. I disconnected the button submit. Unfortunately I am still having the same problem on both my register lightbox and sign in lightbox. press the button and nothing happens…odd because they both worked perfectly for about a half hour yesterday.

First off, with the above code tutorial for the signup, note the two ways of writing an onClick event.

export function loginButton_click(event) {

This is added to your page when you add the onClick event handler through the properties panel for that button

$w("#forgotPassword").onClick( (event) => {

Whereas this one has the onClick event written into the code itself, so you don’t need to add the onClick event handler through the properties panel for that element.

So before you try anything else, make sure that you have the onClick event handler added to the button element for the first sample above with the export function at the front.

If you have to add it again, then it will add the same line of code at the bottom of your existing code and therefore you need to make sure that you delete it as you will have it twice.

Otherwise please make sure that you have this setup correctly.

You need to use a normal button from within the Wix Editor.
Buttons | Help Center | Wix.com

DO NOT USE A SUBMIT BUTTON FROM WIX EDITOR AS SHOWN HERE
https://support.wix.com/en/article/adding-a-submit-button-to-your-form

All your user inputs are saved through the code and not through the submit button

If you are still struggling with it then simply check out Nayeli (Code Queen) tutorial page and youtube video about it as it will be able to walk you through it all.
https://www.totallycodable.com/wix/corvid/custom-registration-for-site-login-using-wix-code
Wix Member Login - How to customize member login on Wix using Wix Code - YouTube
https://www.totallycodable.com/wix/corvid/create-custom-log-in-sign-on-screen-using-wix-code

If you still can’t get your lightboxes to work then please paste here the code that you have used for both of them and we can have a look at what is happening.

Also, when you use custom lightboxes, please make sure that you have changed your member signup settings to suit the corvid option too.
https://support.wix.com/en/article/corvid-enabling-custom-site-registration

@givemeawhisky Sorry I forgot to write back to thank you, with some help from Nayeli I got it working perfectly!