Hi,
I have been testing a bit to save my form data into a text file and it works. I can read the txt data but it wont populate my form. I think i have to save the from data in some diffrent format or something? Any hints?
code:
[{"id":"878d9788.af7fe8","type":"tab","label":"Anmälan","disabled":false,"info":""},{"id":"97000a6d.5bb6b8","type":"ui_form","z":"878d9788.af7fe8","name":"","label":"Deltagarlista:","group":"954d74ed.1d1e48","order":6,"width":0,"height":0,"options":[{"label":"1","value":"1","type":"text","required":false,"rows":null},{"label":"2","value":"2","type":"text","required":false,"rows":null},{"label":"3","value":"3","type":"text","required":false,"rows":null},{"label":"4","value":"4","type":"text","required":false,"rows":null},{"label":"5","value":"5","type":"text","required":false,"rows":null},{"label":"6","value":"6","type":"text","required":false,"rows":null},{"label":"7","value":"7","type":"text","required":false,"rows":null},{"label":"8","value":"8","type":"text","required":false,"rows":null},{"label":"9","value":"9","type":"text","required":false,"rows":null},{"label":"10","value":"10","type":"text","required":false,"rows":null},{"label":"11","value":"11","type":"text","required":false,"rows":null},{"label":"12","value":"12","type":"text","required":false,"rows":null},{"label":"13","value":"13","type":"text","required":false,"rows":null},{"label":"14","value":"14","type":"text","required":false,"rows":null},{"label":"15","value":"15","type":"text","required":false,"rows":null}],"formValue":{"1":"","2":"","3":"","4":"","5":"","6":"","7":"","8":"","9":"","10":"","11":"","12":"","13":"","14":"","15":""},"payload":"","submit":"submit","cancel":"","topic":"","x":810,"y":320,"wires":[["3e0816b1.5f0a3a"]]},{"id":"645b2fc0.985d8","type":"ui_form","z":"878d9788.af7fe8","name":"","label":"Deltagarlista:","group":"bc6b4c41.72ae4","order":6,"width":0,"height":0,"options":[{"label":"1","value":"1","type":"text","required":false,"rows":null},{"label":"2","value":"2","type":"text","required":false,"rows":null},{"label":"3","value":"3","type":"text","required":false,"rows":null},{"label":"4","value":"4","type":"text","required":false,"rows":null},{"label":"5","value":"5","type":"text","required":false,"rows":null},{"label":"6","value":"6","type":"text","required":false,"rows":null},{"label":"7","value":"7","type":"text","required":false,"rows":null},{"label":"8","value":"8","type":"text","required":false,"rows":null},{"label":"9","value":"9","type":"text","required":false,"rows":null},{"label":"10","value":"10","type":"text","required":false,"rows":null},{"label":"11","value":"11","type":"text","required":false,"rows":null},{"label":"12","value":"12","type":"text","required":false,"rows":null},{"label":"13","value":"13","type":"text","required":false,"rows":null},{"label":"14","value":"14","type":"text","required":false,"rows":null},{"label":"15","value":"15","type":"text","required":false,"rows":null}],"formValue":{"1":"","2":"","3":"","4":"","5":"","6":"","7":"","8":"","9":"","10":"","11":"","12":"","13":"","14":"","15":""},"payload":"","submit":"SUBMIT","cancel":"","topic":"","x":810,"y":160,"wires":[["7f8af1a2.a083b"]]},{"id":"7f8af1a2.a083b","type":"file","z":"878d9788.af7fe8","name":"","filename":"/home/pi/BlueMembers.txt","appendNewline":true,"createDir":true,"overwriteFile":"false","encoding":"none","x":1130,"y":160,"wires":[]},{"id":"3e0816b1.5f0a3a","type":"file","z":"878d9788.af7fe8","name":"","filename":"/home/pi/RedMembers.txt","appendNewline":true,"createDir":false,"overwriteFile":"false","encoding":"none","x":1090,"y":320,"wires":[]},{"id":"f6910a0.860b9f8","type":"file","z":"878d9788.af7fe8","name":"","filename":"/home/pi/BlueMembers.txt","appendNewline":true,"createDir":false,"overwriteFile":"false","encoding":"none","x":570,"y":160,"wires":[["645b2fc0.985d8"]]},{"id":"c460b7dc.37b398","type":"file","z":"878d9788.af7fe8","name":"","filename":"/home/pi/BlueMembers.txt","appendNewline":true,"createDir":false,"overwriteFile":"false","encoding":"none","x":530,"y":320,"wires":[["97000a6d.5bb6b8"]]},{"id":"954d74ed.1d1e48","type":"ui_group","z":"","name":"RUS (Klicka SUBMIT efteråt)","tab":"5f7f7ce9.8727b4","order":2,"disp":true,"width":"6","collapse":false},{"id":"bc6b4c41.72ae4","type":"ui_group","z":"","name":"NATO (Klicka SUBMIT efteråt)","tab":"5f7f7ce9.8727b4","order":1,"disp":true,"width":"6","collapse":false},{"id":"5f7f7ce9.8727b4","type":"ui_tab","z":"","name":"Anmälan","icon":"dashboard","order":24,"disabled":false,"hidden":false}]