In Form.js, check the code below. You can see this error. Why you can get a popup for error, error code below ...
if ($(':input[name=submit],:input[id=submit]', form).length) { // if there is an input with a name or id of 'submit' then we won't be // able to invoke the submit fn on the form (at least not x-browser) alert('Error: Form elements must not have name or id of "submit".'); return; }
So, now you understand why you can get this error, now the solution is very simple.
Step 1--> Check Your input type="submit" name="submit" id="submit"
The code does not work on the form, so change something lower than I changed below as long as possible ..
enter code here input type="submit" name="save" id="save"
thats it.
source share