Filters ยท mod_base Reference Frontend developer Template filter Compare Number Boolean is_number Test if a value is a number (integer or floating point): {% if 1|is_number %}Yes, this is a number{% endif %} Edit on GitHub
Filters survey_is_history_back Test whether a survey respondent may return to the previous page in a history.
Filters survey_is_save_intermediate Check if the given survey is configured to save intermediate results. Always returns a boolean value.
Filters survey_is_pagebreak_submit Check if a list of questions contains a pagebreak block with an unconditional submit.
Filters eq_day Tests if the value is a date and equal to the argument. The value and the argument must be a tuple of the format {Y,M,D} or {{Y,M,D},{H,I