OK, here it is:

in the step-functions:

case 'text box':
?>
<input name="<?php esc_attr_e($result->field_name); ?>" id="<?php...