I need a way to allow someone to click a next or back link on the bottom of a page of a multipage form. The problem is that some people just don't figure out the tab navigation. Even if they do, it would be nice to let someone get to the last question on a page and then click next to jump to the next tab instead of having to scroll back to the top to click.

I am willing to do this by adding a field with a link to the next tab, but when I do so the href to the #fieldgroup_tabs-2 doesn't do anything. (something tricky with the js I guess)

Does anyone have a way to do this?

Many thanks!

Comments

nathanraft’s picture

Ok... no response... how about I sponsor a mod to enable fieldgroup tabs to allow people to navigate from the bottom like mentioned above? Anyone interested?

nedjo’s picture

Title: Next and back links » Next and back links on tabs
Project: CCK Fieldgroup Tabs » Javascript Tools
Component: User interface » Tabs
Category: support » feature

This would be implemented I guess in the tabs module rather than cck fieldset tabs.

I suspect this would be done in pure JS rather than server-side (since the buttons would serve no purpose without Javascript being present). That is, the tabs processing would add these buttons, assigning them click actions that trigger the tabs plugin's triggerTag method.

nathanraft’s picture

Yeah good point. I played with the tabs module a bit after posting this and can put the tabs on the bottom but then the href=# doesn't work so nicely. Not sure what the best approach is here. I like the tabs but the navigation for a multipage form gets confusing for some people. Then if someone misses a question they have to hunt in the tabs for the missed question.

Maybe I will just have to move to multiple nodes instead and use something like pagerouter. The alternative is CCK wizard (not up-to-date) or just building it mannually using forms API.

If anyone has a good suggestion that I have left out please let me know.

nedjo’s picture

Version: 5.x-1.x-dev » master
Assigned: Unassigned » nedjo
Status: Active » Fixed

Implemented in HEAD.

On the tabs settings page, enable tabs navigation. You will get previous and next buttons on the tabs.

nedjo’s picture

Added some follow-up tweaks, including link styling by NathanRAFT.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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