$(document).ready(function() {
$("#your-text-field").on("input", function() {
$(this).val($(this).val().replace(/\s/g, ''));
});
});
Alternatively you could let them type in spaces and remove them when the entry is submitted by using the frm_after_entry_create hook.Please login or Register to submit your answer