I just saw this on Our https://our.umbraco.com/forum/using-umbraco-and-getting-started/103806-umbraco-forms-add-custom-validation and as far I know Umbraco Forms hasn't a feature out of the box to compare two fields?
It can probably be done with some custom fields, but I wonder if this would make sense to add in Umbraco Forms?
For example in a registration form, where you may want to verify the email address.