Hello everyone, I'm trying to create an entry form check below, flow can anyone help on how to establish logging in SQL or is there a better way to do it. Also, my codding skill is equivalent to an infant . Sharing any link of previous similar discussion forum might also help.
[{"id":"684eeca3.6ebfa4","type":"group","z":"1c1bd358.aeecad","style":{"stroke":"#999999","stroke-opacity":"1","fill":"none","fill-opacity":"1","label":true,"label-position":"nw","color":"#a4a4a4"},"nodes":["b8ea7b2e.4395b8","b0f6b89b.8d3728","bd353083.7b433","89ba651b.42d578","bdce8500.698648","5f66099.6c679f8","f66a0f25.cb699","1e86fa71.3dc8a6","6d27b917.f6a648","21609de6.d84ce2","fa11d581.03eec8"],"x":814,"y":39,"w":652,"h":402},{"id":"b8ea7b2e.4395b8","type":"ui_dropdown","z":"1c1bd358.aeecad","g":"684eeca3.6ebfa4","name":"M/C Location","label":"Accident Location","tooltip":"Accident Location","place":"Select Location","group":"685dc7dd.443798","order":4,"width":6,"height":1,"passthru":true,"multiple":false,"options":[{"label":"Shed 1","value":"1","type":"str"},{"label":"Shed 2","value":"2","type":"str"},{"label":"Shed 3","value":"3","type":"str"},{"label":"Shed 4","value":"4","type":"str"}],"payload":"","topic":"topic","topicType":"msg","x":950,"y":200,"wires":[["21609de6.d84ce2"]]},{"id":"b0f6b89b.8d3728","type":"ui_dropdown","z":"1c1bd358.aeecad","g":"684eeca3.6ebfa4","name":"Machine category","label":"","tooltip":"","place":"Machine category","group":"685dc7dd.443798","order":6,"width":6,"height":1,"passthru":true,"multiple":false,"options":[{"label":"CNC","value":"1","type":"str"},{"label":"VMC","value":"2","type":"str"},{"label":"Boltmaker","value":"3","type":"str"},{"label":"Header","value":"4","type":"str"}],"payload":"","topic":"topic","topicType":"msg","x":930,"y":280,"wires":[["21609de6.d84ce2"]]},{"id":"bd353083.7b433","type":"ui_text_input","z":"1c1bd358.aeecad","g":"684eeca3.6ebfa4","name":"machine number","label":"Machine Number","tooltip":"Machine Number","group":"685dc7dd.443798","order":7,"width":6,"height":1,"passthru":true,"mode":"number","delay":300,"topic":"topic","topicType":"msg","x":930,"y":320,"wires":[["21609de6.d84ce2"]]},{"id":"89ba651b.42d578","type":"ui_dropdown","z":"1c1bd358.aeecad","g":"684eeca3.6ebfa4","name":"Affected","label":"Affected","tooltip":"Affected","place":"Select ","group":"685dc7dd.443798","order":5,"width":6,"height":1,"passthru":true,"multiple":true,"options":[{"label":"Man","value":"1","type":"str"},{"label":"Machine","value":"2","type":"str"}],"payload":"","topic":"topic","topicType":"msg","x":960,"y":240,"wires":[["21609de6.d84ce2"]]},{"id":"bdce8500.698648","type":"ui_text_input","z":"1c1bd358.aeecad","g":"684eeca3.6ebfa4","name":"Description","label":"Description (if any)","tooltip":"Description (if any)","group":"685dc7dd.443798","order":9,"width":12,"height":3,"passthru":true,"mode":"text","delay":300,"topic":"topic","topicType":"msg","x":950,"y":360,"wires":[["21609de6.d84ce2"]]},{"id":"5f66099.6c679f8","type":"ui_button","z":"1c1bd358.aeecad","g":"684eeca3.6ebfa4","name":"","group":"685dc7dd.443798","order":10,"width":4,"height":1,"passthru":false,"label":"Submit","tooltip":"","color":"","bgcolor":"","icon":"","payload":"","payloadType":"str","topic":"topic","topicType":"msg","x":960,"y":400,"wires":[["21609de6.d84ce2"]]},{"id":"f66a0f25.cb699","type":"ui_multistate_switch","z":"1c1bd358.aeecad","g":"684eeca3.6ebfa4","name":"Accident category","group":"685dc7dd.443798","order":1,"width":12,"height":1,"label":"Accident category","options":[{"label":"Major","value":"option_0","valueType":"str"},{"label":"Minor","value":"option_1","valueType":"str"},{"label":"First Aid","value":"option_2","valueType":"str"}],"x":930,"y":80,"wires":[["21609de6.d84ce2"]]},{"id":"1e86fa71.3dc8a6","type":"ui_date_picker","z":"1c1bd358.aeecad","g":"684eeca3.6ebfa4","name":"Occurance Date","label":"Occurance Date","group":"685dc7dd.443798","order":2,"width":8,"height":1,"passthru":true,"topic":"topic","topicType":"msg","x":940,"y":120,"wires":[["21609de6.d84ce2"]]},{"id":"6d27b917.f6a648","type":"ui_text_input","z":"1c1bd358.aeecad","g":"684eeca3.6ebfa4","name":"Occurance Time","label":"Occurance Time","tooltip":"Occurance Time","group":"685dc7dd.443798","order":3,"width":4,"height":1,"passthru":true,"mode":"time","delay":300,"topic":"topic","topicType":"msg","x":940,"y":160,"wires":[["21609de6.d84ce2"]]},{"id":"21609de6.d84ce2","type":"join","z":"1c1bd358.aeecad","g":"684eeca3.6ebfa4","name":"","mode":"auto","build":"string","property":"payload","propertyType":"msg","key":"topic","joiner":"\\n","joinerType":"str","accumulate":"false","timeout":"","count":"","reduceRight":false,"x":1170,"y":240,"wires":[["fa11d581.03eec8"]]},{"id":"fa11d581.03eec8","type":"debug","z":"1c1bd358.aeecad","g":"684eeca3.6ebfa4","name":"","active":true,"tosidebar":true,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","statusVal":"payload","statusType":"auto","x":1350,"y":240,"wires":[]},{"id":"685dc7dd.443798","type":"ui_group","name":"Accident - Machine / Man","tab":"749760e0.fe809","order":3,"disp":true,"width":"12","collapse":false},{"id":"749760e0.fe809","type":"ui_tab","name":"Accident","icon":"dashboard","order":13,"disabled":false,"hidden":false}]
Screenshot: