Hi,
I have a form field for a mobile number and an emergency mobile contact and I want to put a validation so that the user doesn't enter the same mobile number for both fields.
I've tried the following but it's not working
You use the dmx-bind:value.. This is used to bind a value to an input.
You should use the data-rule-notequalto="inp_usr_mobile.value" to check the value
First of all, remove: dmx-bind:value="!=inp_usr_mobile.value" this make no sense and is invalid expression.
You need to enter just the id of the field for the validation rule. So in the Not Equal To validation applied for the second input it must be just inp_usr_emerg_mobile