Page 1 of 1

validation

Posted: Wed Jul 16, 2008 4:16 am
by junjustkim
hi to all

how to put "Required" at the right side of the text boxes if the user doesn't inputted any value in the text box or field? Validation is using javascript.

Thanks in advance.

Re: validation

Posted: Wed Jul 16, 2008 4:37 am
by Eran

Re: validation

Posted: Wed Jul 16, 2008 5:01 am
by junjustkim
Thanks for your immediate replied. But his sample will used alert and not to put the words "Required" at the right side of the field or text box.

Thanks

Re: validation

Posted: Wed Jul 16, 2008 5:25 am
by lakshmanan
Thanks to all, It was useful to me also...

Thanks and regards
Lakshmanan

Re: validation

Posted: Wed Jul 16, 2008 7:48 am
by Eran
Thanks for your immediate replied. But his sample will used alert and not to put the words "Required" at the right side of the field or text box
It is an example for javascript form validation. You still need basic programming skills to apply it to your needs

Re: validation

Posted: Wed Jul 16, 2008 10:01 am
by Stryks
If you don't want to use javascript, you can do it server side.

Have a read of THIS POST, especially the example near the end.

Cheers

[edit] Ahhh ... I should read better.
junjustkim wrote:Validation is using javascript.

Re: validation

Posted: Wed Jul 16, 2008 8:44 pm
by junjustkim
Thanks to all of your replied.

Cheers,

Tirso