Share this page

# FieldCanChange

This event is triggered before ALM changes a field value, to determine whether the field can be changed.

You can add code to this event procedure to prevent a field from being changed in specific cases. For example, see Example: Field Validation.

Syntax | <entity>_FieldCanChange(FieldName, NewValue) where FieldName is the name of the field and NewValue is the field value.
Type | Function
Returns | True or False
Availability | `AnalysisItem_FieldCanChange` `AnalysisItemFolder_FieldCanChange` `Baseline_FieldCanChange` `Bug_FieldCanChange` `BusinessModel_FieldCanChange` `BusinessModelActivity_FieldCanChange` `BusinessModelFolder_FieldCanChange` `BusinessModelPath_FieldCanChange` `Component_FieldCanChange` `ComponentFolder_FieldCanChange` `ComponentStep_FieldCanChange` `Cycle_FieldCanChange` `DashboardFolder_FieldCanChange` `DashboardPage_FieldCanChange` `DesignStep_FieldCanChange` `Library_FieldCanChange` `LibraryFolder_FieldCanChange` `Release_FieldCanChange` `ReleaseFolder_FieldCanChange` `Req_FieldCanChange` `Resource_FieldCanChange` `ResourceFolder_FieldCanChange` `Run_FieldCanChange` `Step_FieldCanChange` `Test_FieldCanChange` `TestConfiguration_FieldCanChange` `TestFolder_FieldCanChange` `TestSet_FieldCanChange` `TestSetFolder_FieldCanChange` `TestSetTests_FieldCanChange`

The code for hiding a field that depends on another field should be placed in the FieldChange event procedure (not in the FieldCanChange event procedure).

https://admhelp.microfocus.com ALM 8942
Tips to improve your search results... ALM Help Center ALM Help Center ALM Help 15.5-15.5.1 All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic Version: