Reg- Multifield Listener

Avatar

Avatar
Validate 1
Level 2
prabhukarruppus
Level 2

Likes

4 likes

Total Posts

26 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
View profile

Avatar
Validate 1
Level 2
prabhukarruppus
Level 2

Likes

4 likes

Total Posts

26 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
View profile
prabhukarruppus
Level 2

17-01-2018

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

Replies

Avatar

Avatar
Give Back 3
Level 1
Nancy_OShea
Level 1

Likes

2 likes

Total Posts

10 posts

Correct reply

0 solutions
Top badges earned
Give Back 3
Give Back
Boost 1
View profile

Avatar
Give Back 3
Level 1
Nancy_OShea
Level 1

Likes

2 likes

Total Posts

10 posts

Correct reply

0 solutions
Top badges earned
Give Back 3
Give Back
Boost 1
View profile
Nancy_OShea
Level 1

18-01-2018

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

Avatar
Validate 1
Level 2
prabhukarruppus
Level 2

Likes

4 likes

Total Posts

26 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
View profile

Avatar
Validate 1
Level 2
prabhukarruppus
Level 2

Likes

4 likes

Total Posts

26 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
View profile
prabhukarruppus
Level 2

18-01-2018

Aem 6.2

Avatar

Avatar
Validate 1
Level 2
vishalv66424037
Level 2

Likes

0 likes

Total Posts

13 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 2
vishalv66424037
Level 2

Likes

0 likes

Total Posts

13 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
vishalv66424037
Level 2

20-01-2018

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.

Avatar

Avatar
Validate 1
Level 10
edubey
Level 10

Likes

277 likes

Total Posts

1,502 posts

Correct reply

392 solutions
Top badges earned
Validate 1
Give Back 50
Give Back 5
Give Back 3
Give Back 25
View profile

Avatar
Validate 1
Level 10
edubey
Level 10

Likes

277 likes

Total Posts

1,502 posts

Correct reply

392 solutions
Top badges earned
Validate 1
Give Back 50
Give Back 5
Give Back 3
Give Back 25
View profile
edubey
Level 10

20-01-2018

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?