I\'m developing a project, and when typing a value in one field, I need the other field to be changed based on the values I defined in a function, here is the code: