I need to write a listener for the following scenario:
Amount section is a multifield, Which contains Minimum Amount and Maximum Amount as a text field.
(Through listener we need to show a popup on submit if the maximum amount entered is less than minimum amount)
The screen shot for the dialog is as follows :
For the above multifield scenerio I can't able to achieve the expected output.
The properties of AMOUNT, Minimum Amount And Maximum Amount Respectively
Kindly guide me on to resolve this issue.
Thanks in advance.
You can use numberfield xtype instead of textfield and there is a property "maxValue" and "minValue" of type number which you can use for performing validation.