1 Reply Latest reply on Jul 27, 2010 12:50 AM by Bernd Alheit

    assigning numeric value to a button

    MstrTy

      I have a form in which there are up charges for larger sized garments xxLarge vs Large. I am unsure of the script to use for this. 

      I can generate a price from a pull down menu for the base size and send the price to a numeric field.

      if
      
       (xfa.event.newText=="Letter Sweater w/Stripes")
      {(jacketprice.rawValue=
      
      "129.90")}
      
      
      

       

       

       

       

       

       

       

       

      I then repeat this for each style in the pull down,  I also have check boxes named "size" and each has a On Value coresponding to its size. so one checkbox's  On Value is "small" the next checkbox is "medium" and so on. I need to have the xxlarge and xxxLarge buttons send a value to the jacket price numeric field. The small - large check boxes will continue to send no price increase. I also dont want multiple buttons activated at the same time.