Modify Control
Modify control (controls)
"Modify Control" is one of the most used functions when developing your application in Apphive. It allows you to modify the controls within it, bringing life and dynamism to your application when your users interact with it. It enables you to modify various properties depending on the control you use, such as text, backgrounds, fonts, colors, and sizes. It has 3 entry variables: "Data to Send", "Element", and "Property to Modify", and does not have callbacks.
![](https://docs.apphive.io/~gitbook/image?url=https%3A%2F%2F476758574-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FVctm8W2AAd8SbIYUaj27%252Fuploads%252FFp65Zdck9HEGrcZZrz96%252Fimage.png%3Falt%3Dmedia%26token%3D6d513352-6eab-491b-84c5-24a80896e7c1&width=768&dpr=4&quality=100&sign=74e27eab&sv=1)
Data to send : We will place the value we want to modify, such as a string if it is text, a hexadecimal if we want to change the color of a text or the background of a button, or numbers to modify a size. You must ensure that the value you send is allowed by the parameter to be modified. (Required)
Element : We enter the ID of the control you wish to modify or mainly select it from the variable menu in the controls section, where you will find the controls you have on your page, allowing you to select the one you want to modify. (Required)
Property to modify : We will find both in a dropdown with the available properties to modify once we select the control from the variable menu, or in a field where you can enter the desired property to modify if it is not found in the options of the previous dropdown, or if you enter the control ID directly.. (Required)
Step by Step :
![](https://docs.apphive.io/~gitbook/image?url=https%3A%2F%2F476758574-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FVctm8W2AAd8SbIYUaj27%252Fuploads%252Fci2rc26On7gtmzuUs7YN%252FMODIFYCONTROL.gif%3Falt%3Dmedia%26token%3Df04edd45-9014-42f7-ad80-933dab94c56a&width=768&dpr=4&quality=100&sign=55019295&sv=1)
Last updated