Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
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]