0 Replies Latest reply on Dec 9, 2011 6:53 AM by Katie@Miracle

    Override User Entry

    Katie@Miracle

      I have a form where the user has to choose an item form a drop down menu. Some of the drop down menu choices fill another field with a percentage while other choices require the user to enter in their own percentage in the same field. The choice where the percentage is autofilled works initially but if I got to another choice and fill the percentage manually and then go back to the choice that should be autofilled, the percentage doesn't change; It stays the same as whatever I manually entered. How do I override the user entered value and always revert to the autofill.

       

      My code is:

       

      if (DropDownMenu.rawValue == 4) then

       

        rawValue = .25

       

      elseif (DropDownMenu.rawValue == 1) then

       

                this.rawValue = null

       

      endif

       

       

      Any help is greatly appreciated!