I am trying to add an onClick event to my custom sign up form so that when the user submits the form, they are taken to another slide in the lightbox.
I added the following onClick event… ‘button3’ is the existing submit button from the custom signup form.
export function button3_click(event) {
$w("#loginSlides").changeSlide(2); // "myElement"
}
When I tested this, it does take me to the slide as I wanted, but it seems to stop the original function of the submit button and is not submitting the signup form so members aren’t then actually signed up or logged in.
Any ideas as to how I can get both events to occur when a user clicks the submit button?