Why not use the ui-form node, it would be simpler and have more control on input fields and when it is submitted.
e.g.
[{"id":"365a165c.a92272","type":"change","z":"f8ec99b33c203710","name":"","rules":[],"action":"","property":"","from":"","to":"","reg":false,"x":155,"y":180,"wires":[["1023f232.58f71e"]],"l":false},{"id":"1023f232.58f71e","type":"ui_form","z":"f8ec99b33c203710","name":"","label":"","group":"6e33f3db.defabc","order":16,"width":0,"height":0,"options":[{"label":"Name","value":"name","type":"text","required":true,"rows":null},{"label":"Family Name","value":"family","type":"text","required":true,"rows":null},{"label":"Age","value":"age","type":"number","required":true,"rows":null}],"formValue":{"name":"","family":"","age":""},"payload":"","submit":"submit","cancel":"cancel","topic":"topic","topicType":"msg","splitLayout":"","x":250,"y":180,"wires":[["a1a2482b.6b99c","365a165c.a92272"]]},{"id":"a1a2482b.6b99c","type":"template","z":"f8ec99b33c203710","name":"","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"{{{payload.name}}},{{{payload.family}}},{{{payload.age}}}","output":"str","x":480,"y":180,"wires":[["f83d4a7d53ad6e7c","cf435aea.907718"]]},{"id":"f83d4a7d53ad6e7c","type":"debug","z":"f8ec99b33c203710","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":670,"y":180,"wires":[]},{"id":"cf435aea.907718","type":"file","z":"f8ec99b33c203710","name":"","filename":"/path/to/file.ext","appendNewline":true,"createDir":false,"overwriteFile":"false","encoding":"none","x":630,"y":260,"wires":[[]]},{"id":"6e33f3db.defabc","type":"ui_group","name":"problems","tab":"8f03e639.85956","order":4,"disp":true,"width":"6","collapse":false},{"id":"8f03e639.85956","type":"ui_tab","name":"Home","icon":"dashboard","order":2,"disabled":false,"hidden":false}]