Jump to content

Display Information

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
3 replies to this topic

#1
jayachandra

jayachandra

    Newbie

  • Members
  • Pip
  • 3 posts
Hi All,
Here I need a code snippet regarding how to display the information just beside the textbox if it is mandatory field instead of displaying the message that "User ID should not be blank." by using innerHtml

#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
Indicating text is mandatory is just a matter of adding a * next to the field, or some such.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#3
jayachandra

jayachandra

    Newbie

  • Members
  • Pip
  • 3 posts
Thank you for the reply. But Here I am asking when the user press the submit button, then below or beside the text box, it should be display the message like as mentioned "User ID should not be blank." as like gmail account login, if the user id or password is not provided then it is showing the information.

Thanks in advance.
Jay

#4
bmett

bmett

    Newbie

  • Members
  • PipPip
  • 12 posts
Hi Jayachandra,

I use the following script for my forms. Very powerful script but you'll probably need a bit of time to work through the code:

Form Validation Library

There are examples at the end of the page.

Cheers,
Bjorn