Skip to content

Commit dc7ad7b

Browse files
committed
fix(hostnamefield): value not read from answers
1 parent 04f5ff2 commit dc7ad7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inc/field/hostnamefield.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public function getValueForTargetText($domain, $richText): ?string {
9292
}
9393

9494
public function hasInput($input): bool {
95-
return false;
95+
return isset($input['formcreator_field_' . $this->question->getID()]);
9696
}
9797

9898
public function moveUploads() {

0 commit comments

Comments
 (0)