Two part question, but similar ideas:
I am creating an “appointment of officer(s)” clause for a consent. If the officers datafield (repeating list) contains 1 person, then I want the title to use “officer.” If the list contains >1 person, then “officers.” Clausebase is set up cleverly to vary number and gender in Concepts and their associated labels, however, it seems a little less straightforward if we are not using a concept label, which in this case, I don’t think we can practically do. I can see how to do this with a conditional letter “s” determined by applying the @count special function to the list datafield, but that is an awful lot of coding for one letter. Is there a better way?
If there is a single officer, I want the clause to use “him” or “her” depending on the person’s gender. Obviously I’ll need a datafield to capture the gender, which would presumably repeat for each officer (or better yet, only be asked if there is just one officer, since in English, the gender would not matter with the plural). How could I do this? I need to use a datafield that won’t actually be displayed in the assembled document.
These are small issues but nice to be able to figure out.