Click here to Skip to main content
15,886,518 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi friends,

currently i'm working with html5, i want to check required field for textbox.

i try before required keyword like this

<input type="text" id="txt_tle" class="input" style="width:170x">

nothing happend,

pls anyone help me for solve this issue

thanks
:)
Posted

1 solution

 
Share this answer
 
v2
Comments
Renga.g 5-Sep-14 6:11am    
is it i can able to check only like this way?

can i have you check like asp.net error msg, if i forget to enter text can possible to show the error msg in html.
Gihan Liyanage 5-Sep-14 6:20am    
No this is not only the way you can check, if you are using ASP.net then you can use required field validates, or Java script validation. Since you mentioned html I suggested this for you.
thatraja 5-Sep-14 6:46am    
FYI
Use 'Reply' button to reply someone(like I did reply to you now), then only OP'll get notification
Gihan Liyanage 5-Sep-14 6:50am    
Thumbs UP :)
Renga.g 8-Sep-14 10:22am    
hi i found the way how to validate in html, i just check the condition using javascript, its working fine.

thanks a lot.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900