Page MenuHomePhabricator

Client-side validation breaks credit card button on GC forms
Open, LowPublic

Description

Steps to reproduce:

  • Go to a GlobalCollect donation form.
  • Enter stuff. Make the email address invalid, like "s".
  • Click Visa.
  • You'll see the "invalid email address" dialog.
  • Correct the email address, enter something valid.
  • Click Visa again.

Nothing happens!! You can click another credit card type, but the Visa button will not work until the form is refreshed.

Event Timeline

awight raised the priority of this task from to Needs Triage.
awight updated the task description. (Show Details)
awight subscribed.

@awight I believe this is why the "continue" button appears. Are you saying that there's no solution or that what we have is inelegant?

Oh, interesting... Well, now that the radio buttons are styled like pushbuttons, they should have behavior consistent with buttons. All we have to do is rewrite the "onChange" event handler to run "onClick".

atgo set Security to None.

Thanks! Given that this isn't blocking payments, I'm rating it low. I agree we should do something about it when we have a chance though.

atgo renamed this task from Client-side validation breaks credit card button to Client-side validation breaks credit card button on GC forms.Jul 31 2015, 9:09 PM