I'm using InDesign data merge to merge employee data from an Excel csv file to InDesign. The text import is no problem but am stumped with marking the checkbox fields from the csv file (like 1 = Female, 2 = Male, if 2 then ckBoxM1 = on). How does this work? Thank you for your help.
In your original thread in the General forum, Re: Data Merge checkboxes & radio buttons, I wrote:
You cannot do this directly with Data Merge.
Data Merge can merge text fields and images, and that is it.
So what can you do?
Basically you need to use scripting.
You can, for instance, merge your checkbox field into a textframe on the pasteboard, and then write a short script to run through your document and set each associated checkbox based on its corresponding textframe's contents.
I'm rusty enough on radio buttons that I'm not going to give you an example now, since I don't have a ready-to-go radio button example. Post a screenshot of how you have the radiobutton setup (Is it a multi-state object?)?
Please post a screenshot.