Completes input form