Hide Table of Contents

Adding Control Logic to a Control

Use the Control Logic dialog box to specify one or more conditions that cause Enterprise PDM to dynamically show, hide, or disable a data card control.

For example, you can apply control logic to a language-specific input field so that it is hidden or disabled unless a corresponding language-specific check box is checked.

You can apply control logic to only one control at a time.

To add control logic to a control:

  1. In the Card Editor, open the card and select the control to which you want to add control logic.
  2. Click Control > Control Logic.
  3. In the Control Logic dialog box, under Actions, click Click here to add an action.
  4. Select the behavior of the control when the logic is satisfied:
    • To make the control read-only, select Grey out.
    • To hide the control, select Hide.
  5. Click Click here to add condition.
  6. If you want the action to be triggered by any of several conditions, select .

    If all conditions must be met, you can select or simply add the conditions that must be met.

  7. Select a variable whose value will trigger the control logic action.

    The variable must exist on the same card as the control.

  8. Under Comparison, select how the value is interpreted.

    For example, Date Equal To or Date Less Than.

  9. Under Value, type the variable value that will trigger the control logic.
  10. To add another condition, repeat steps 5 through 9.
  11. To delete an action or condition, select it and select Delete from the list.
  12. Click OK.
When using the card, if the user provides a value for the variable that matches the control logic criteria, the control action (to hide or disable the control) is performed.

Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

Subject:   Feedback on Help Topics
Page:   Adding Control Logic to a Control
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:


We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again

Web Help Content Version: SOLIDWORKS PDM 2012 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.