Page 1 of 1

Validating a Page - urgent

Posted: Sun Jan 25, 2009 2:41 am
by pritishz
Hello Everyone,

I am a beginner in PHP. I am presently building a page in PHP which has textbox and a submit button. Can anyone please help me validating the form. If I leave the textbox empty it shud display a message just below the textbox stating "Required field cannot be left blank" in red fonts.

Re: Validating a Page - urgent

Posted: Sun Jan 25, 2009 2:59 am
by requinix
If the string from the textbox is an empty string then print your HTML message.

(Those are links)