I know this is kind of silly but I am getting confused and don't know where to add the OnSubmit function which is supposed to open the SaveEvent.php file (its in the www directory). As of now the code doesn't work. As in nothing happens when I click the submit button.
At the moment you have a few things wrong. The form action should be SaveEvent.php . Im not sure what the hiddenframe is but get rid of it. You also don't need to have an onsubmit function because you already have the action in the form.