I think the "amount" and "Pay" form elements should be weighted at the bottom of the whole form, which is a lot more intuitive as often fields of Payment content type are required for payment to proceed, so they should be by default on top.

Comments

luke_nuke’s picture

StatusFileSize
new771 bytes

I'm attaching a patch for this.

xano’s picture

StatusFileSize
new2.09 KB

That's not going to work, because field weights can be arbitrary. Instead, the button should be wrapped by an actions element and the amount should be exposed as an extra field.

xano’s picture

Status: Needs review » Needs work

This needs changes in the validation and submission handlers too.

The last submitted patch, 2: payment_donation_2316281_2.patch, failed testing.

xano’s picture

Status: Needs work » Needs review

xano’s picture

StatusFileSize
new2.96 KB

Re-roll, and incorporated #3.

xano’s picture

Could you please test this patch and post your feedback here?

luke_nuke’s picture

Sorry for lack of contact from me, I have a lot of work lately, so it's hard for me to find time to test this. I won't be able to look at it like two more weeks at least, unfortunately. I will try to test this, when I will have some time.

xano’s picture

Great! Thanks :)

xano’s picture

Bump. Could you please review this patch?

xano’s picture

Status: Needs review » Fixed

  • Xano committed e205755 on 7.x-1.x authored by Luke_Nuke
    Issue #2316281 by Xano, Luke_Nuke: Move "amount" input and submit button...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.