I want to avoid those annoying double spaces in some inputs, do you have any idea how I can do it? I do not think I have a problem with doing it completely on the client's side.
Here is an example of one of my input:
<div class="form-group">
<label for="cliente">Cliente</label>
<input type="text" name="cliente" class="form-control" id="cliente" placeholder="cliente">
</div>