This page describes how to manipulate the Page Control Object in the Pricing Form (i.e. Tabbed pages) so that only the tabs or pages applicable to your immediate needs appear.

To Suppress tabs in a tdesignerpanel_pricing_form_object. We have situations where certain packages have items others do not such as an option for Poymer and Applique. The idea is to have a pricing form tab for Polymer parameters and one for Applique parameters. Depending on the package selection, the Applique or Polymer Tabs will appear. In this manner the user does not have to remember which package has what. He is presented only with what is available.

Making this work requires coordinating a number of the Cyrious components for pricing. You will be working with Selection Lists and the Dependent List capability, Variables and the linked list capability, and the Pricing Form. Unless you feel very comfortable with moving between these elements, it is recommended that you test this on a sample pricing form rather than a “live one”. And if it doesn't work right away, retrace your steps. Be particularly careful to be sure the name of the Page in your Page Control is the same as in your list, as described below (our most common mistake).

  1. This example assumes that there is a list based choice of package options - E.g. ADA Polymer and ADA Applique. This is at the top of the pricing form above the Page Control Object. The user selects which package he wants to price from a drop down list. You can go to those lists from the Setup/Pricing Setup, The Dashboard List Selection, or the New/Edit selection in the list itself on the Pricing Form while “editing” an Estimate or Order. If you have not done so already, add a Dependent List column named something like “Tab Selection”.
  2. Create lists for the tab names. Remember that for every tab you want to show on your form the name in the list must match exactly the name in the Page Control for that tab. Spaces, capitals..every detail must match. One list would be for the Control which will show applique. A second list would be for the Control which will show Polymer. (It saves a lot of grief if you name these something descriptive of what they are - E.g. ADA Tab List_Polymer and ADA Tab List_Applique.)
  3. To suppress a Tab you exploit the fact that it will not show unless the name in your Tab list is an exact match of the name in the tdesignerpanel_pricing_form_objectt. You have at least two options. One, in each list enter only the row for the Tab you want to show or, two, enter rows for each tab but misspell or omit a character for the tab you do not want to show. (We used the latter method to have a quick reminder of the tabs in the Object.)
  4. Create a List Variable to hold the the lists you have created and check the “Use Dependent List From” option and enter the variable name that holds your package selection list. If you have already created the Dependent List name as described in Step One, the name of your Dependent List – in this example “Tab Selection” – should appear in the Dependent List dropdown choices and you should select that.
  5. Navigate to your Package Option list and beside each package name, in the Dependent List Column named “Tab Selection”, navigate to the list containing the tab for the package - E.g. ADA Tab List_Polymer and select that. In the Default column to the right of the list name, select the tab name you want to use. Save your work.
  6. Be sure that the product contains all the variables you have used, that the Product has the Pricing Form you are using selected as its Pricing Form, and that the Variable selected in the Page Control Object on the pricing form is the one you have used for your Tab Lists. From a new Estimate or Order, open the product and you will have a pricing form which changes with package selection, providing a neater, less error prone, and earier form to work with.

Contributor: Steve Gillispie, Acorn Sign Graphics

Date:_07/09/2009

Version: Control 4._

You could leave a comment if you were logged in.