How to make a Form?

Hi, I’m new to Wick Editor.
I want to make a local form which asks user to enter username and password then stores the values in 2 global variables. How should I make this form?
Also, can you tell me how to access values that user input into the text field?

What language exactly is Wick Editor using in its scripts? Where can I get the documentation which states all functions and its purpose? Thanks :slight_smile:

Hi @Qixyi. Wick Editor scripts primarily use Javascript. You can find a reference for JavaScript here:


Here’s a basic example of retrieving user text input and storing it in a global variable. You may want to make something that looks different from this, but I think it will help you get started:
username-password.wick (6.6 KB)
After clicking the enter button to store the username and password in variables, you can verify what they are by pressing the spacebar to get an alert statement.

Thank you very much. The program that you made is super helpful. :blush:

1 Like