• Post Reply Bookmark Topic Watch Topic
  • New Topic

Need help with javascript validation

 
David kio
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please help with my project.


I got a list of Item that can be filled.
But i duno how to validate the 'Quantity' field only and only if the user select an item in the 'Item' field.
The validation on javascript should be done when user clik the submit button.
 
Cole Terry
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is my suggestion (it may not be exact but something similar):

 
David kio
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
opps, sorry....

Thanks anyway, i just solve the problem already.

 
Anything worth doing well is worth doing poorly first. Just look at this tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!