Hi, I’m trying to make a macro.
This is my code so far:
\define checkbox-list()<$list variable=“LIST-FROM-FIELD” filter="[list[!!LIST-FROM-FIELD]]">
<$checkbox listField=“WRITE TO FIELD” checked=<>> <></$checkbox></$list>
It now reads the values from a field and displays them with a checkbox in front of them.
By checking the checkbox, the corresponding value is written to another field.
I would prefer that when calling the macro I could determine which values should be displayed
without having to put them in a field.
Something like:
<<checkbox-list “values to list” “Name-field-to-write-to”>>
I’ve been working on $myvar$. and enlist $mylist$… I can’t figure it out.
Is there anyone who can help me with this?