You might consider using a commercial form generator like Wufoo if you need this functionality.

https://www.wufoo.com/