Skip to content
This repository has been archived by the owner on Feb 17, 2020. It is now read-only.

Disable submit button after click #53

Open
knackrack615 opened this issue Jul 19, 2015 · 0 comments
Open

Disable submit button after click #53

knackrack615 opened this issue Jul 19, 2015 · 0 comments

Comments

@knackrack615
Copy link

You should disable the submit button after its being click to prevent paste spam

This can be done very easely by changing line 90 on /themes/bootstrap/index.html to the following

<input name="submit" type="submit" value="Submit" id="submit" class="btn btn-primary" onclick="kamos()" />

and add at the top of the file this

function kamos(){
    $('#submit').hide();
}

Easy but effective :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant