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

SOLVED

cannot get value from xtype selection field

Avatar

Level 2

I have been trying to get value from an xtype selection field, within js - and i'm losing my patience with this product. the same code works fine as expected few lines above for another field, I can get the value fine. 

type: select
xtype: selection

I checked the Id and Xtype on this field, looks fine, and got back expected result, but, I could not get the value using: getValue() or getRawValue().

Any comments/pointers, appreciated.

 

Sivaram

1 Accepted Solution

Avatar

Correct answer by
Level 10

See this community article that shows JavaScript logic that gets a selection value:

 http://helpx.adobe.com/experience-manager/using/dynamically-updating-aem-custom-xtype.html

[img]selection.png[/img]

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

See this community article that shows JavaScript logic that gets a selection value:

 http://helpx.adobe.com/experience-manager/using/dynamically-updating-aem-custom-xtype.html

[img]selection.png[/img]