Custom script - format checkbox group on a single line with comma separation

Custom script - format checkbox group on a single line with comma separation

Hello!

I'm wanting to take the selections in a checkbox group and format them into a text field with each option separated by a comma. I want to do this in a custom script when the form is submitted under Field and Form rules in a service request.

The resulting field will be used in the description of a child request that is created via a separate Python script. This script is based on one avaialble on here.

Anyone able to help me with this? Can't seem to get my head around it! I get by with the scripting, but I'm no expert :)

Alternatively, perhaps some hints on how I might be able to take the same data and convert it within the Python script?

Thanks, in anticipation.

                  New to ADSelfService Plus?