# Other functions

### <span class="mw-headline" id="bkmrk-selectsingleoption%28f-1">selectSingleOption(fieldName)</span>

Will set a value if only one option is avaiable in a select box.

### <span id="bkmrk-"></span><span class="mw-headline" id="bkmrk-warndateafterotherda-1">warnDateAfterOtherDate( dateA, dateZ, message )</span>

Alerts the user via a popup, if two dates are not after each other. Both date changes triggers the test.

### <span id="bkmrk--1"></span><span class="mw-headline" id="bkmrk-disableerrorcountint-1">disableErrorCountInTitle() and enableErrorCountInTitle() (6734+)</span>

Will disable/enable displaying of numbers of errors i the page-title. Default is enabled

### <span id="bkmrk--2"></span><span class="mw-headline" id="bkmrk-changefieldtoshow%28fi-1">changeFieldToShow(fieldName)</span>

Remove input and select boxes and replace them with the value in the field

### <span id="bkmrk--3"></span><span class="mw-headline" id="bkmrk-showmoretablerows%28fi-1">showMoreTableRows(fieldName,rowsShown,buttonLabel)</span>

Makes a nested table shorter by hiding lines &gt; rowsShown. Hidden rows can be shown with the button below the table.