Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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.

0 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.