PDA

View Full Version : Currency / money field with selectable currency



simplessus
30 Dec 2009, 8:32 AM
Hello,

does anybody know an existing component that combines a NumberField and a ComboBox to a field where users can insert money values and select the corresponding currency from the combobox ?

Posting the formular should then transfer two values: the money numeric value and the selected currency.

If I need to develop this on my own, do I need to extend the textbox-component or the combobox component ?

Thanks for any helpful comments.

Best regards,
Bjoern

beldaniel
31 Dec 2009, 2:01 PM
Would this not be a Ext.Container? Of course I am new to Extjs

FlyFoxUK
21 Jan 2011, 7:11 AM
Bjoern,

Did you have any luck in sourcing or developing such a currency field? I too am interested in this idea.

FF.

tobiu
22 Jan 2011, 3:24 AM
should be quite easy to build. use a composite field containining your 2 formFields or a container with layout hbox and put them into it. i would go for an extension to easily allow cross validation rules for both fields etc.


best regards
tobiu