Closed (fixed)
Project:
Pay
Version:
6.x-1.0-alpha5
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Sep 2010 at 02:24 UTC
Updated:
12 Oct 2010 at 06:00 UTC
Currently when a credit card, expiration date, or CCV2 fails the field isn't highlighted. This patch changes to using form_error() on the element where possible, instead of using form_set_error() on a string, which didn't work because it requires the whole set of parents as a string, which won't be the name of the field if form is nested anywhere within a form.
| Comment | File | Size | Author |
|---|---|---|---|
| pay_form_validations.patch | 2.49 KB | quicksketch |
Comments
Comment #1
quicksketchComment #2
jerdavisCommitted to HEAD