deriv-com / perl-HTML-FormBuilder

0 stars 9 forks source link

generated JS code uses undefined function #6

Open torsten-deriv opened 9 years ago

torsten-deriv commented 9 years ago

The generated JS code calls a function

var error_element_error_amount = clearInputErrorField('error_amount');

which is not defined by the module. This code should probably read:

var error_element_error_amount = document.getElementById('error_amount');
error_element_error_amount.innerHTML='';
shuwnyuantee commented 9 years ago

Fixed