PDA

View Full Version : Forms?



I3D
7 Dec 2011, 9:00 PM
Hi Guys

Is it possible to build forms with Sencha Animate? How can we handle the data being entered?

Best

arnebech
8 Dec 2011, 10:20 AM
You could potentially put form html straight inside an element using the content property, but this will likely cause usability issues inside animator when working with objects on the stage, and you would not be able to style the input elements. In your typical click-handler you could get references to the input fields and get their values.

Another approach is to use js to insert the form dynamically on runtime. This could be done from an external script (head HTML property) or any custom js action inside animator.