Download & Extend

Form steps at different paths, Improve Next/Previous Buttons

Project:Signup Integration for Ubercart
Version:6.x-1.x-dev
Component:Code
Category:task
Priority:normal
Assigned:ezra-g
Status:closed (fixed)

Issue Summary

In order to prevent the "previous" button from being the default button on uc_signup's multi-step attendee information form, previous currently appears to the right of "next", which can be confusing to some users.

The multi-step form would be more user-friendly if each step of the form was accessible via its own path so that users could use their browser's forward and back buttons. We could also replace the "previous" button with a link, thus eliminating the default submit button issue.

Comments

#1

Assigned to:Anonymous» ezra-g
Status:active» needs work

I'll address this.

Here's a rough start. It works, but we should consider changing some of the form state checks in favor of using the current path.

I've tried breaking the form and so far it's held up, but I'd like to give it some more trouble ;).

AttachmentSize
540136.patch 4.3 KB

#2

Status:needs work» needs review

Here's a revised patch. Actually, depending on the form step isn't a bad idea in most places.

AttachmentSize
540136-a.patch 6.16 KB

#3

Status:needs review» fixed

I committed this since it worked in my testing and so we can avoid re-rolling other patches.

#4

Status:fixed» closed (fixed)

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

nobody click here