Forum Discussion

UCICAsociacinCi's avatar
UCICAsociacinCi
Community Member
5 months ago

Virtual keyboard with multiple text entries

Hello, 

I'm kinda new at Javascript, and i'm trying to make a virtual on screen keyboard.

The user needs to enter username and password. but i can0t get to make it work, it writes the same text in both of my text boxes.

Only if the username and password are correct should go to next slide

 

  • The reason for that is the javascript always adds to the usario variable, and never to the password variable.  In the attached version, I made a change that allows it to change the password variable, too.  I only changed the script for 1, so you will need to update the others.

    I also changed this trigger:

    I changed the AND to OR. As it was, if  both answers are right it jumps to the next slide, and if both are wrong, it shows the error message layer, but if one is right, and one wrong, nothing happens. Changing the AND to OR shows the error layer if either is wrong.