For a normal dialog, I am able to compare the values by adding listeners node in the dialog and adding the property "beforeSubmit" with value
function(dialogObj){
var minAmount = dialogObj.getField("./minAmount").getRawValue();
var maxAmount=dialogObj.getField("./maxAmount").getRawValue();
if (minAmount>maxAmount) {
{
alert("Pleae enter maxAmount amount larger than minAmount");
}
}
Structure of the normal dialog:
Incase if I have two textfield widgets in a multifield dialog and I want to compare the values entered in these textfields beforeSubmit of the dialog.
Help me ,where the listener has to be added in multifield dialog and how to access the multifield textfields
Structure of my multifield dialog: