About fifteen years ago, I wrote a Java applet for obtaining and using form input from users of a web page. I no longer have the source code, but it seemed fairly painless, even though I was just learning Java (IIRC, from the relevant O'Reilly book) at the time.
Sounds like you need a MVVM model.. Checkout knockout.js (http://knockoutjs.com/) -- Alex Scotton mob: 07950 524744 home: 01603 768361
Web Design | Graphic Design | MySQL Design and Optimization | SEO, advertising and Marketing Services | Computer Repairs | Network, Active Directory and Streaming Services | NLB and Bandwidth Shaping