Determining # of Chapters in Title

gwempz Community Member Posts: 137

My goal is to show a button for a final test only after all chapters are viewed.

Unfortunately there is no reserved variable to determine the number of chapters in a title.

Can anyone think of a way to make Lectora produce this number? I could manually count all the chapters and create a variable, but I’m adding this to a template where the number of chapters will vary and would like to automate the process if possible.