1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-19 13:01:26 +02:00
This commit is contained in:
Ryan Cramer
2024-02-15 12:34:09 -05:00
parent 94653012be
commit 3ab315dca4
2 changed files with 5 additions and 1 deletions

View File

@@ -1152,6 +1152,10 @@ function InputfieldDependencies($target) {
consoleLog('getCheckboxFieldAndValue(see-next-line, ' + conditionField + ', ' + conditionSubfield + ')');
consoleLog(condition)
if(conditionSubfield === '' && trimValue(condition.value) === '') {
conditionSubfield = 'count';
}
// first check if we've got a count subfield, because we'll be counting checked inputs for
// those rather than checking the actual values

File diff suppressed because one or more lines are too long