Get multi-directional text box working