[TerraForm] 'onkeypress' hidden integer field

  • From: "Malessa Korotnicki" <malessa.korotnicki@xxxxxxxxxxxxxxxxxxxxxx>
  • To: terraform@xxxxxxxxxxxxx
  • Date: Fri, 2 Apr 2004 11:54:17 +1000

Hi Matt,

I noticed that hidden input fields that have a datatype of integer still
include the 'onkeypress' code: onkeypress="return (
String.fromCharCode(window.event.keyCode).search(/[-+0-9]/) > -1 )"

This is not necessary for fields that are hidden (right?), so can it be removed 
in the next update? It currently does not cause any negative effects
in the form, but I just think it is just unnecessary additional code.

Thanks
- Malessa






=======================================================
The information contained in the above e-mail message or messages 
(which includes any attachments) is confidential and may be legally 
privileged.  It is intended only for the use of the person or entity 
to which it is addressed.  If you are not the addressee any form of 
disclosure, copying, modification, distribution or any action taken 
or omitted in reliance on the information is unauthorised.  Opinions 
contained in the message(s) do not necessarily reflect the opinions 
of the Queensland Government and its authorities.  If you received 
this communication in error, please notify the sender immediately and 
delete it from your computer system network.
=======================================================


Other related posts:

  • » [TerraForm] 'onkeypress' hidden integer field