Active
Project:
CCK Fieldgroup Tabs
Version:
6.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
25 Mar 2009 at 01:13 UTC
Updated:
7 Jun 2011 at 11:39 UTC
Jump to comment: Most recent
Comments
Comment #1
JMCtg commentedBump. Anyone?
Comment #2
nedjoThis would require adding a new configuration option. I'd welcome a patch.
Comment #3
Whackler commentedi really want this option too.
Submit button in a tab or in the last tab
Comment #4
Bilmar commentedsubscribing
Comment #5
jeffreyvddb commentedSubscribing.
Comment #6
jdln commentedSubscribing. I have required fields in my tabs so this is a must for me if I use this module.
Comment #7
jdln commentedJust a thought, could the save and preview buttons be hidden with javascript css until you trigger the last tab?
Comment #8
jdln commented'Jquery works on node/add, but not when it fails validation':
http://drupal.org/node/872228
Comment #9
jdln commentedId also like to hide my Mollom anti spam box until the last step. Both Mollom and the Submit button could be hidden with CSS in a javascript function if there was one. I think other jquery plugins work this way, but ive no idea how hard it is to do. It seems like it would be very flexible if it could be achieved.
Comment #10
Anonymous (not verified) commentedI think the submit button should be shown in the last tab, but on node creation only. On node edit, it should be on every tab.
Comment #11
willhowlett commentedsubscribe
Comment #12
willhowlett commentedI've used a really cheeky method to solve this for my usage scenario using just CSS.
Each tab contains a .tabs-nav-link-sep element which is created by the module when the tabs are created, and which provides a border at the bottom of each tab. I've absolutely positioned this div to cover the submit button so it can't be clicked, then have used display:none on it within the last tab to get rid of it again (I personally made a nice greyed out image of the submit button to use as a background for this element).
Code looks like this:
The .tabs-nav-link-sep element isn't created if javascript isn't enabled, so this method degrades nicely as well.
Don't know how cheeky people would consider this to be, but it's working for me.