Text Input Feature
Description
The text input feature is used to collect user inputs and it can be used as headings . This supports all major data formats.
Properties
Feature Name: This is the name of the feature, it can be changed from the default value.
x: This is the horizontal centre point of the feature on the view.
y: This is the vertical centre point of the feature on the view.
width: This is the width of this feature.
height: This is the height of the feature.
Orientation: This is the angle of the feature specified in degrees.
Transparency: This is a value that specifies the transparency of the feature. 0 is completely invisible and 1 is not transparent at all.
Text: The Displayed text. Using this property we can set a predefined text to the text field.
Auto Store to Variable: Using this list we can select one of the available global variables to sync with the text field. Inputs in the text field will be always synced with global variables. This helps to set user inputs into APIs or to compare entered inputs etc.
Font: Using this property we can select the available fonts to the text field. This list shows the available fonts from the local PC.
Size: Using this property we can set the font size of the text field.
Font Color: This property sets the color of the font.
Bold: Text will be bold when this property is set to true.
Italic: Text will be italicized when this property is set to true.
Horizontal Align: This aligns the text inside the text field horizontally. We can align it to Left, Right, and Centre.
Vertical Align: This aligns the text inside the text field vertically. We can align it to Top, Bottom, and Centre.
Show Background: If this sets, it enables the background of the text field.
Background Color: Using this property we can select the background color for the text field.
Background Outline Color: Using this property we can select the separated color for the outline of the text field.
Outline Thickness: Using this property we can set the thickness of the text field outline.
Background Radius: Using this property we can make the edges of the text field into curvy.
Is Editable: This property defines whether the text field is editable or not. If this is selected, the text will be editable. The text field collects user input if this property is selected.
Is Password: If this property is selected, user input will be encoded into password format like
Is Selectable: This property defines whether the text field is selectable or not. If this is selected, the text will be selectable.
Character Restriction: Using this we can restrict the illogical/unsupported input formats. For example, a mobile number cannot be anything other than numbers. In such cases, we can restrict the text field input into numbers. Similarly, it has Alphabet, Integer, Alphanumeric, and Email types.
Maximum Characters: Using this property we can restrict the maximum number of characters.
Multiline: If this property is set, it enables the multiline inputs.
Prompt: This sets the prompt for the text field.
Prompt Color: This property sets the prompt color.
Is Valid Email: This is a
Is Valid Mobile Number: This is a
Is Valid Telephone Number: This is a
Is Valid Name: This is a
Events
Triggers
Key Pressed
Key Pressed: This trigger listens to the event of a key being pressed. It listens for the key that is specified in the parameter key.
Parameter
Key: Character that it’s listening for
Timer
Timer: This starts a timer and executes the actions when the time is up. You can have it run multiple times by specifying the number of runs, 0 is to keep running indefinitely.
Parameter
Duration: Duration of time before executing actions
Number Of Runs: Specifies the number of runs, 0 is to keep running indefinitely
Touch
Tap: This trigger executes its actions when the user taps on this feature.
Double Tap: This trigger executes its actions when the user double taps on this feature.
Long Press: This trigger executes its actions when the user long presses this feature.
Pressed: This trigger executes its actions when the user has pressed down on this feature.
Released: This trigger executes its actions when the user has pressed down and released this feature.
Gesture
Swipe: This trigger executes its actions when the user swipes on the feature in the direction specified.
Parameter
Swipe Type: Here you can specify the direction of swipe to listen for
Global Variable: The distance of the swipe will be stored to this variable if one is specified
Drag and Drop
Is Dropped On: This trigger executes its actions when this feature is dragged and dropped on to another feature.
Parameter
Target: This specifies the other feature that this feature has to be dropped on
Is Dragged Over: This trigger executes its actions when this feature is dragged over another feature.
Parameter
Target: This specifies the other feature on which this feature has to be dragged over
Text Input
Enter Pressed: This trigger executes its actions when the enter key is pressed.
Focus In: This trigger executes its actions when the text field is in focus.
Focus Out: This trigger executes its actions when the focus is out from the text field.
Actions
Print: This action calls the print function of the operating system of the device, it will print this feature the way it looks when the action is executed. For this to work the printer setting must be set up properly on the Operating System (OS).
Parameter
Show settings popup: The printer setting popup of the OS can be shown before printing if selected
X:This action changes the x property of this feature to the value specified.
Parameter
x:This is the target value
Y:This action changes the y property of this feature to the value specified.
Parameter
y:This is the target value
Width: This action changes the width property of this feature to the value specified.
Parameter
Width: This is the target value
Height: This action changes the height property of this feature to the value specified.
Parameter
Height: This is the target value
Rotate To: This action changes the orientation property of this feature to the value specified.
Parameter
Rotation: This is the target value
X Offset: This action changes the x property of this feature by adding the value specified.
Parameter
x:This is the value to be added to the current value
Y Offset: This action changes the y property of this feature by adding the value specified.
Parameter
y:This is the value to be added to the current value
Width Offset: This action changes the width property of this feature by adding the value specified.
Parameter
Width: This is the value to be added to the current value
Height Offset: This action changes the height property of this feature by adding the value specified.
Parameter
Height: This is the value to be added to the current value
Rotate By: This action changes the orientation property of this feature by adding the value specified.
Parameter
Rotation Offset: This is the value to be added to the current value
Resize By Factor: This action changes the height and width of the feature by multiplying it by the specified factor
Parameter
Factor: This is the value which the height and width will be multiplied by
Move To Front: This action moves this feature to the front of all the features that are in the view. If this feature is inside a group feature it will be moved in front of all the other features inside that group only.
Move To Back: This action moves this feature to the back of all the features that are in the view. If this feature is inside a group feature it will be moved to the back of all the other features inside that group only.
Change Transparency: This action changes the transparency of the feature by to the value specified.
Parameter
Alpha: Value to change the transparency to, must be between 0 and 1
Delete Feature: This action deletes the feature from the screen.
Text
Change Text: This action changes the text of the text field.
Parameter
Text: This is the target value
Focus In: This action sets the focus to the text field.
Focus Out: This action takes the focus away from the text field.