Any errors after copying and pasting the code?

I have discovered an issue with the messaging system I'll work on it for you

onEvent("button1", "click", function( ) {
createRecord("messages", {fromUsername:(getText("text_input4")),Message:(getText("text_input1"))}, function(record) {
setText("text_input1", "");
});
});
onEvent("button2", "click", function( ) {
setText("text_area1", "");
readRecords("messages", {}, function(records) {
for (var i =0; i < records.length; i++) {
setText("text_area1", "From: "+ ((records[i].fromUsername + (" " + ("Message: " + records[i].Message)))));
}
});
});
onEvent("sign_up_1", "click", function( ) {
if (getText("username_input") == "") {
setText("Error", "Oops! Please enter a username!");
} else if ((getText ("password_input") == "")) {
setText("Error", "Oops! Please enter a password!");
} else {
var correctData={};
correctData.Password = getText("password_input");
correctData.Username = getText("username_input");
correctData.Account = getUserId();
createRecord("overall_info", correctData, function(record) {
console.log(record);
});
setScreen("new_user_welcome");
}
});
onEvent("sign_up2", "click", function( ) {
setScreen("sign_up_screen");
});
onEvent("sign_in_btn", "click", function( ) {
readRecords("overall_info", {Account:(getUserId())}, function(records) {
for (var q =0; q < records.length; q++) {
var x = (records[q]).Password;
}
if(x == getText("text_input6") ){
console.log("message");
setScreen("screen1");
}else
{
console.log("Incorrect password T-T");
}
});
});

There is the one that fixes the not logging your username issue

thx! Um, I really hope it isn't too much, but how do I make it so that you don't have to pretty much sign up every time you start? ('cause that's what's happened for me and)
I feel like such a noob even though I've been coding for a while '~_~

    oh I fixed the sign in while I was fixing the sign up

    and no you are not asking too much I am here to help

    Are you talking about like auto-sign in?

    Zeldaria Don't talk bad about your self everyone learns at different speeds

    If you need a person that will be there for you and help you through anything My Private messages are always open

    I get bullied because I know how to code & the "pranks" were bad I had to buy a new laptop because they turned the computer into little cubes that are bite size
    It is better to talk to someone and get it off your chest than bottle it up and then explode and do things you might regret

    Fluffypoopo
    because you put a lot of messages with a little content instead of large messages with lots of content like me :D
    its technically not spamming tho so I guess you just have the best strategy for gaining points

    I don't like to send books of stuff I can make shorter
    Last I checked this is not school

      Fluffypoopo Um I tried to 'log in' but it still doesn't work, sry but um I think it needs a way to 'remember' who's signed up and IDK how to do that OwO

        Chat