Puts the spinner on a form when you submit it. Useful when you aren't updating a form with ajax and you want to prevent interaction with it after the user submits it (and is waiting on a server response).
This form prevents the default submit event (i.e. clicking the button below doesn't actually send the form data to the server)
spinOnSubmit trigger will still be invoked. You should see an Ajax spinner when you submit it (and then it'll
just hang there).
See also Delegator.SpinOnClick
<form id="test" data-trigger="spinOnSubmit"> <div class="form-group"> <input type="text" name="html" value="" placeholder="...an input of some sort" class="form-control input-hg"> </div> <div class="form-group"> <button type="submit" class="btn btn-default">Submit</button> </div> </form>