Hello
I have a UsernameInput and PasswordInput that are both ABMInput objects.
I want that if a user presses enter, it would 'submit the form'.
After some searching I found that the B4JS onkeyup event could probably help me, I could catch the keyup, check if it's an enter and then programatically 'push' the login button.
But after some testing, It seems to be possible to pass the button, but I see no way to push it.
Any insights on how would you 'tackle' this problem is greatly appreciated!
I have a UsernameInput and PasswordInput that are both ABMInput objects.
I want that if a user presses enter, it would 'submit the form'.
After some searching I found that the B4JS onkeyup event could probably help me, I could catch the keyup, check if it's an enter and then programatically 'push' the login button.
But after some testing, It seems to be possible to pass the button, but I see no way to push it.
Any insights on how would you 'tackle' this problem is greatly appreciated!