assigning value of numeric variables based on user input

I hope someone can help me with this. I am trying to get user input (annual salary) and make a variable equal to whatever the user types. 

I set up a data entry field (numeric) where the indivdual enters their salary; however, I cannot figure out how to get the variable's value (default = 0) to take on the value of whatever the user input into the data entry field.

Can anyone help with this?

Thanks!

Kind regards,

Melanie

2 Replies
Walt Hamilton

When you create a data entry field, it automatically creates a variable and a trigger that puts the value of the entry field into the variable when the field loses focus.  You can edit the variables to change the name of the variable if you want, or edit the trigger to use a different variable.