Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

giganten

macrumors 6502a
Original poster
Jan 23, 2006
602
0
Hi.
I should make a form whit javascript.
I should make an text-box that give you an alert if you dont write anything in the box or if you use numbers or . ; _ / or symbols like this.
I will also make an box for numbers that should check so it is only numbers in the box.

I did get the alert to work if you dont type anything in the box but dont now how to get the other things to work.

Any one can tell me how it works or have some good guide I can read.
 
I think i got my form to work now. But how should I do if I want to get a box that show that the person did everything right.
 
I think i got my form to work now. But how should I do if I want to get a box that show that the person did everything right.
If he/she did everything right, shouldn't you forward the user to whatever he/she wants to do by filling up the form? Probably push the form data to another page that will execute backend code with it?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.