W.I.P
Added the ability to add and remove extra input fields;
Fix: when a lookup attribute is not defined, show text;
Improve solution.