Edit controls

Edit controls enable users to modify data within linked fields while viewing or interacting with it. These controls are essential for making changes to data, updating records or altering states based on specific criteria.

It is important to note that any modifications made using edit controls directly impact the underlying database. Unlike view controls, edit controls allow users to save changes to the data.

Some edit controls may offer additional functionalities for data manipulation, such as validation rules, formatting options, enabling/disabling fields, setting required states, etc. These features can enhance the user experience and ensure data integrity.

Example

// Get the value of a text edit control
const textEditCtrl = ix.api.dom.getControl("<ELEMENT-GUID>");
textEditCtrl.getValue(); // Returns: John Doe

// Modify the text value
textEditCtrl.setValue("Jane Doe");

Index

Namespaces