Can't submit form

Im using a javascript validatior for my form, and I can’t seem to get it to work with Kirby because kirby needs a submit button with name=“submit”, but the validation can’t work if the submit button has name=“submit”.

Any suggestion how to fix this?

If I do like this:

<input type="submit" name="submitform" value="Submit" class="btn btn-primary submit">

if(get('submitform')) {

It works!