diff --git a/app/views/origami/surveys/_form.html.erb b/app/views/origami/surveys/_form.html.erb index d9a80bce..523e88c3 100755 --- a/app/views/origami/surveys/_form.html.erb +++ b/app/views/origami/surveys/_form.html.erb @@ -89,7 +89,7 @@ <%= f.input :total_customer, input_html: { :readonly => true,min:'1', class: 'col-md-11'} %> - <%= f.input :local , input_html: { min:'1',class: 'col-md-11' }%> + <%= f.input :local , input_html: { min:'1',class: 'col-md-11', :onkeypress => "return isNumberKey(event);", :onkeyup => "surveyLocal(this.value);" }%>