8,849
edits
Changes
→See Also
{{JavaScript Syntax}}
The following technique can be used to prevent a user from entering special characters in [[Custom Fields]].<br>
:''<nowiki>onkeyup="this.value=this.value.replace(/[\D]/g,'');"</nowiki>''
==See Also==
* [[Ssescape|ssEscape]]
[[Category:Custom Fields]][[Category:JavaScript]]