Added robust amount validation to trading form

It checks that a form is filled out and if so, check if there is an error. (Yeah, it checks for errors even if form isn't filled out, but it shouldn't be a performance issue).
This isn't correct. You need to parse is as a BigNumber so that '0.0' or '.0' are correctly identified as 0.