Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You are recommended to avoid dark colours as they make data in the grid very hard to read.

...

HELPDEVTODO - update screen shots and instructions as needed

Configuring Selection View Attributes is illustrated with an example:

You have a selection of items for sale, as below:

Image Removed

You also have a form view that allows you to edit these entries - this pops up when the Edit button is clicked:

Image Removed

You need to assign a tax band to each item. You also have a set of tax bands configured:

Image Removed

To help with this task, you will set up a selection list to populate the tax band and tax rate values for the sales items, from the list of tax bands. To do this, open the configuration form for the form view 008 Edit Sales Item, then open the configuration form for the view attribute TaxBand:

Image Removed

Then open the list of attributes for the view that gives the list of tax bands:

Image Removed

From the list of attributes that pop up, drag the attribute BandDescription into the Selection View Attribute field, and tick the Show the dropdown button flag.

Image Removed

Populating further attributes from the same selection view

Repeat the same process for the view attribute TaxRate, dragging the attribute BandRate from the view of tax bands into the Selection View Attribute field. This time, do not tick the Show the dropdown button flag.

The form view will now appear as:

Image Removed

If you press the button next to the TaxBand field the list of tax bands will appear - you can select a row from this list by double-clicking it. This will populate the TaxBand and TaxRate fields for the sales item with the selected tax band details:

Image Removed

Controlling drop-down lists with other form values

You can use values that users have already entered into a form to control the values that appear in a drop down list. This is done by using the internal variable _form. Add a background filter on the view used in the selection view attribute, and include a clause which uses the value _form.formAttributeName to match values in the selection view with the value entered by the user in the attribute formAttributeName.

Model Ref: 008

Form Icons

...


The form provides the standard form icons.

...