Closed BinaryFissionGames closed 6 years ago
I made the page and added input spaces for Date Time and Duration
Password matching is live!! Was working for a while on validating as a user was typing but couldn't get anything to work :/
Gotta figure out how to get jQuery to work but here is a thing
//Display Only Date past today // var dtToday = new Date(); var month = dtToday.getMonth() + 1; // getMonth() is zero-based var day = dtToday.getDate(); var year = dtToday.getFullYear(); if(month < 10) month = '0' + month.toString(); if(day < 10) day = '0' + day.toString();
var minDate = year + '-' + month + '-' + day; $('#dateID').attr('min', minDate);
This signup page should just take an email and a password, for now, as well as a comment box saying why they want to sign up.
This will add a row to the signuprequests table in the database, as well as a new, unapproved user.