Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Java Script Validation on Applet fields

 
Judy Abott
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i wonder if i can use java script for synatx validation ( numeric or alpha, or even number of characters) on applet input fields, instead of action listeners!
and which technique is better ??!
 
Peter Gragert
Ranch Hand
Posts: 424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I prefere the responsibility where it belongs: the Applet.
Test: make an error in the inputfield for the function (and repair) in this applet: http://www.math.utwente.nl/~gragert/Live_Math/JCM/MeanValue.html

 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!