SitePoint Sponsor |
|
User Tag List
Results 1 to 2 of 2
Thread: select input validator
Threaded View
-
Jul 27, 2007, 01:06 #1
- Join Date
- Jun 2002
- Location
- Buenos Aires, Argentina
- Posts
- 361
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
select input validator
While this code works allright for text-inputs validation, It doesnt work for "select" types.
Code:if (document.nueva.pricing.value == '' ) { alert('El campo `pricing´ es obligatorio.'); nueva.pricing.focus(); error_de_validacion = 'S'; return(false); }
My SOHO: http://www.contactopuro.com.ar
Bookmarks