facebook

How to change a number in fieldB when leaving fieldA?

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #334426 Reply

    mreade
    Member

    Support,

    I have been trying to figure out how to perform the following action with a code snippet, without success. I have attached a screen for the form in question to help explain what I am trying to do.

    When the form loads, a number “1.14” is placed in the “f-Adjustment:” field. When the user enters a number greater than zero, the “f-Adjustment:” field should not change. However, when the user enters a “0” takeoff angle, then I am trying to get the “f-Adjustment:” field to change to “1.0” and when any other number greater than “0” is entered the “f-Adjustment:” number can be between 1.14 and 1.71.

    Is it possible to change the “f-Adjustment:” number to “1.0” when a user types “0” in the “Takeoff(a):” field?

    Thanks

    mreade

    #334428

    support-michael
    Keymaster

    @mreade

    I did not see your screenshot but can take a swing at providing a little snippet that shows managing dependence between 2 textField widget values.

    #334429

    support-michael
    Keymaster

    Please see this temperature units conversion example that illustrates 2 dependent textfield widgets: http://www.genuitec.com/support-genuitec/viewtopic.php?f=14&t=2380

    #334434

    mreade
    Member

    Sorry Wayne,

    Here is the screen capture. Also, I will take a look at the link you provided.

    mreade

    Attachments:
    You must be logged in to view attached files.
Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: How to change a number in fieldB when leaving fieldA?

You must be logged in to post in the forum log in