Expand my Community achievements bar.

Reg- Multifield Listener

Avatar

Level 3

[Moderator moved from Adobe Portfolio to Adobe Experience Manager ​]

Hi All,

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 :

Screen Shot 2018-01-17 at 7.16.14 PM.png

For the above multifield scenerio I can't able to achieve the expected output.

The properties of AMOUNT, Minimum Amount And Maximum Amount Respectively

Screen Shot 2018-01-17 at 7.16.31 PM.png

Screen Shot 2018-01-17 at 7.16.46 PM.png

Screen Shot 2018-01-17 at 7.17.01 PM.png

Kindly guide me on to resolve this issue.

Thanks in advance.

4 Replies

Avatar

Level 2

This is the Adobe Portfolio forum.  Which Adobe product are you using?   I can move this question to the correct forum for you.

Nancy

Avatar

Level 10

It's a duplicate question I guess https://forums.adobe.com/thread/2438798

Referring to your last answer, you have written listener code and have event triggered.

Where are you actually getting stuck?

Avatar

Level 2

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.