Ok got it working, I didn’t fully understand the triggers for the db insert I thought if you set the trigger it will automatically activate, what I didn’t realise it still need a form submit so the trigger is more like a filter, so went back to the original hidden form but added a body onload event
<body onLoad="form1.submit();">
Form works fine now, however how can you use the trigger before page loads if it needs the form to be submitted? Am I missing something out here?