Copying & pasting answers

Through the various menus (in the upper-right corner and each card of a Q&A), users can copy & paste answers.

This is a very useful feature that is usually trivial to use. Nevertheless, there are some caveats to watch out for.

Location matters

Which menu is used, has a huge impact on what is being copied or pasted.

  • When the user chooses the “copy answers” option in the menu in the upper right corner, then all answers of the entire Q&A will be copied to the internal clipboard of ClauseBase. Similarly, when choosing “paste answers” in this menu, all answers available on the internal clipboard will get pasted, across the entire Q&A.
  • When a Q&A has different card categories, another option will appear in the menu that allows the user to copy only the answers of the currently active category.
  • When the user uses the option in the upper-right corner of a card, then only the answers within that particular card will be copied. Similarly, when choosing “paste answers” from this menu, answers available on the internal clipboard will only get pasted within the current card.

From/to Assemble Document

When answers are copied that are bound to datafields, you can also copy from / paste to the Data Dashboard of Assemble Document. Be aware, however, that Q&A answers are not necessarily bound to datafields — but those that are not, are simply ignored.

Matching answers between Q&As

Copy/pasting will be trivial when a user opens two different answer-sets of the same underlying Q&A, and performs any of the available copy/paste operations. In such situation, ClauseBase can easily match each answer between the source Q&A and target Q&A, on the basis of the internal (invisible) question-number, as saved in ClauseBase’s database server.

However, if a Q&A is duplicated, then all the questions of the duplicated Q&A get new (invisible) numbers in the database, because those questions will be completely independent from the original questions. Accordingly, the matching on the basis of the invisible question-numbers will fail.

It gets even more difficult when you try to copy/paste answers between Q&As that were independently created, but happen to have similarly-phrased questions. From the end-user’s perspective, it should be possible to copy/paste answers between such Q&As.

ClauseBase therefore applies the following steps to match answers between Q&As:

  • First, ClauseBase will try to match on the invisible question-number. (As stated above, this will only succeed when copy/pasting between answer-sets of the samen underlying Q&A.)
  • Next, ClauseBase will try to match on the question’s identifier, as specified in the question’s options. If two questions have the same identifier (and have the same answer-type and answer-amount), then this will be seen as a match.
  • If the identifier matching also fails, ClauseBase will try to match on the basis of the following combination of elements:
    • the card’s title (in the current language of the Q&A’s interface)
    • the question’s title (in the same language)
    • the answer-type
    • the answer-amount (single vs. multiple answers possible)

      In other words, if a question in the target-Q&A has the same title as the question in the source-Q&A, and the titles of the cards they are situated in also correspond, there will be match.
  • Finally, questions can match on the basis of a corresponding datafield bound to them.

No validations performed

Be aware that ClauseBase currently does not perform any of the validations that may be associated with questions in the target Q&A. Accordingly, be aware that when users copy/paste between disparate Q&As, “invalid” answers may end up in the target Q&A.

First match only

As soon as a match is found, ClauseBase will use that question to paste the answer. This means that when multiple questions can potentially match, only the first match will be used, so that subsequent matches get ignored. (ClauseBase runs through the matches in the order of the questions.)


Keep in mind that in a Q&A, a table-based answer consists of multiple repeating-list-datafields. Accordingly:

  • if you copy a table from the Q&A to Assemble Document, multiple separate datafields may get targeted
  • copying a repeating-list-datafield from Assemble Document to Q&A is currently not supported
Was this article helpful?
How to: allow users to select legal entities & addresses
Comments, notes & documentation