diff --git a/common/lib/capa/capa/inputtypes.py b/common/lib/capa/capa/inputtypes.py
index b8af5a7286..cca195baac 100644
--- a/common/lib/capa/capa/inputtypes.py
+++ b/common/lib/capa/capa/inputtypes.py
@@ -457,8 +457,16 @@ class TextLine(InputTypeBase):
"""
A text line input. Can do math preview if "math"="1" is specified.
+ If "trailing_text" is set to a value, then the textline will be shown with the value after the text input.
+ This is useful if you would like to specify a specific type of units for the text input.
+
If the hidden attribute is specified, the textline is hidden and the input id is stored in a div with name equal
to the value of the hidden attribute. This is used e.g. for embedding simulations turned into questions.
+
+ Example:
+
% if status == 'unsubmitted':