Values from choice field in repeatable

Pulls values stored in a choice field that is inside a repeatable section and stores them in an array.

Due to the nature of choice fields, the REPEATABLEVALUES() expression cannot be used on its own when pulling values from a choice field inside a repeatable section. Instead use the example below.

 if ($repeatable_section == null){
   SETRESULT(null);
 } else {
   REPEATABLEVALUES($repeatable_section, 'choice_field_data_name').map(CHOICEVALUE);
 }