Workflow, Collaboration, Enterprise Content Management

Creating Tabbed Sections in an InfoPath Form

by John Holliday 28. August 2006 06:06

As we all know, tabbed controls make it a lot easier to enter data on a form. Surprisingly, InfoPath does not provide a built-in tab control. This leads to form designs that are much less intuitive than they could be.

There is a nice article on the InfoPath Team Blog that shows how to create tabbed views using table cells and buttons. Unfortunately, this technique is limited to switching between form views. What if you want to have a set of tabs for the data within a view? Or what if you want to have more than one set of tabs on the same view?

In this Camtasia video, I demonstrate a variation of the technique that lets you display as many tabbed sections as you like on any view of a form.

The basic idea is the same. We'll use a table with shading to give the visual effect of tabs, and we'll use buttons for each tab. But instead of placing the content of each tab within a view, we'll place the content in a table cell. And instead of using a rule that switches the current view when the user clicks a button, we'll use javascript in a button click event to update the form so that the 'active' tab is made visible and the other tabs are hidden.

Enjoy

Technorati : , , ,
Del.icio.us : , , ,

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

InfoPath Forms | Office System

Comments

10/15/2006 12:30:25 AM

Cool expansion of the idea! One note - if you're using InfoPath 2003 SP1+ or 2007, you don't have to write any code to set the value a field; you can do this via rules.

Alex Weinstein

9/18/2007 11:00:45 AM

Scorp

Hey is there any reference on how to do this using vsta vb or c#? I would prefer vb but will look into the c# if i had to.
thanks

Scorp

7/24/2008 12:59:13 AM

hafreze

where's the video? yesterday I did came to this entry, and found it very interesting, already bookmark. but now, it's gone. Please upload it again since I need to use this feature for my project. your help is much appreciated

hafreze us

7/24/2008 2:51:52 PM

John Holliday

hafreze,

Thanks for the catch! I have updated the post to include the correct link. You can also view the video from the "Screencasts" section in the side panel.

Enjoy.

JFH

John Holliday us

Add comment


(Will show your Gravatar icon)  

  Country flag

biuquote
  • Comment
  • Preview
Loading



Copyright © 2005-2008, John F. Holliday
This work is licensed under a Creative Commons License Powered by BlogEngine.NET 1.4.0.0

About Me

John Holliday

Independent author, consultant, trainer, and software developer specializing in enterprise content management, collaboration, workflow and business process automation. SharePoint training for developers and administrators

 

Recent comments

Comment RSS