Another solution I've used is to just have one button in the form, and fake the other buttons.
Here's an example:
<form>
<label for="amount">Amount of items</label>
<input id="amount" type="text" name="amount" />
<span id="checkStock" class="buttonish">Check stock</span>
<button type="submit" name="action" value="order">Place order</button>
</form>
I then style the span elements to look like a button. A JS listener observes the span and performs the desired operation once clicked.
Not necessarily right for all situations, but at least it's pretty easy to do.