Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

form submitting/checking

Status
Not open for further replies.

stiej

Technical User
Joined
Jan 20, 2003
Messages
142
Location
GB
Hi,

I am building a website using tables rather than frames.

i have a registering page, the usual form asking for various personal details.

When a user incompletes the form, or fills out a form element incorrectly and hits the submit button, what is the "best practise"/usual procedure to display a message such as "Username already taken" or "Some fields not filled, please check your form" etc etc?

I don't want the form's values to be cleared, just the relevant message to simply appear in an appropriate position on the same page.

Any helps/hints/tips/suggestions very much appreciated!

Thanks in advance...Steven
 
yep that sounds about right!

the actual mechanics\technicalities will depend mainly on what you are going to code it in.



Chris.

Indifference will be the downfall of mankind, but who cares?
A website that proves the cobblers kids adage.
Nightclub counting systems
 
I will be coding in PHP and i have understood since that I can use javascript to verify certain things on the form before submitting. but how do i make-appear such headings/alerts/messages -whatever you want to call em- on my page without reloading it?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top