toy with constraints for form element layouts