How to build a form similar to this one