Forum Discussion
CharlotteSha220
4 years agoCommunity Member
Ideating on a password creation/trigger workflow
Hi all,
I'm trying to think about design at the top level before getting in 'too deep' on a solution that won't pan out.
The client needs a site-embedded SL course (not LMS hosted) that grants ...
WaltHamilton
4 years agoSuper Hero
I would input both address and password, and let JS do all the work.This gets a SL variable emailAddress and password so JavaScript can use it.
var player=GetPlayer();
var JSaddress=player.GetVar("emailAddress");
var password=player.GetVar("userPassword");
Then load the appropriate information, and compare the passwords. If they match, set JSpasswordOK to true and send it back to SL
player.SetVar("passwordsMatch",JSpasswordOK);
Related Content
- 12 months ago
- 5 months ago
- 5 months ago