Auto generate id

how to make the ID code automatically appear in the ID textbox, for example ALI0724001, ALI-07 as month, 24 as year and 001 as serial number. can anyone help me?

Use Javascript to get the month and year JavaScript Date Methods (w3schools.com). You have to randomize the last 3 digits else you will have to write an endpoint that you can call to get the next serial number.

Is there a link for me to find that information?