Template:Validation.js: Difference between revisions

Content deleted Content added
rm auto focusing of Other on amount error, it's probably more confusing than helpful
move var amount inside function
Line 1:
<html>
<script>
//Should this be here?
var amount = null;
 
function DefaultSubmit(formfield,Action) {
var keycode;
Line 19 ⟶ 16:
 
function validateForm(form){
 
var amount = null;
var minimums = {</html>{{2012FR/Switch/Currency/Minimums}}<html>};