In which case @max_gb's approach would be a good solution. You could use:
dmx-bind:value="text1.value.replace(/\D/g,'')"
.. for the hidden input - to strip out any non-numeric characters. Unfortunately I don't think this is possible in server connect as regex isn't available.
1 Like