Validate form fields using element ID

... instead of form.<name> because the worldpay form doesn't
use the names.

As an aside; TODO: cleanup in this file is heavily needed.

Change-Id: If70f5669890dbcf0a0d9c81af6b8d3ed27aaa4a7