PDA

View Full Version : linking form fields



amccool
22 Mar 2011, 11:05 PM
I have a form with field for weight in LBS, and a field for weight in Kilograms. I need to link these fields together so that when the user types in 150 lbs, the kilogram field is automatically populated with 1 pound = 0.45359237 kilograms

I cant seem to find the right documentation to link fields together. It doesn't appear that vtypes are the correct way to accomplish this. Could someone point me in the right direction?

amccool
22 Mar 2011, 11:42 PM
looks I needed to re-read the FAQ

http://www.sencha.com/learn/Ext_FAQ_Forms#Change_field_based_on_value_of_another_field