Community

Access selected values from Checkmark Group

Hi

Anybody knows how to access multiple selected checkmark values from scripts.
Example: In CheckmarkGroup there are 3 items like 'Item1', 'Item2', 'Item3' and <Multiple Selection> ('Multiple Selection')
If I select Item2 and Item3 at the time of verification then later in scripts how do i get to know which items are selected?
DocumentEditor.Document.Field("CheckmarkGroup").Text is giving 'Multiple Selection' as an value of group.


Thanks in advance,
-Rahul

Was this article helpful?

0 out of 0 found this helpful

Comments

1 comment

  • Avatar
    Permanently deleted user

    Hi Rahul,

    It seems like you're getting the value of the Group and you have selected multiple items like Item2 and Item3, which is probably why you're getting 'Multiple Selection' as the result.
    Try accessing the value of the individual fields (use an enumerator to run through if the list of checkmarks is too large) and use the text ("Yes" or "No") or value ("True" or "False") from these fields further in your script.

    Regards!

    1

Please sign in to leave a comment.