I am designing a complex application about animals which requires a lot of user input. I'm wondering how best to approach a particular scenario where a user can input a name however sometimes (and this is a more rare case) if the animal is unnamed they get two different inputs to enter the mother and fathers name instead. It's necessary to distinguish between named and unnamed so they cannot just enter mother and fathers name in the name input.

The only related example of this I can find is when you can autocomplete or enter your address as the primary input but you also get an option to 'enter address manually'.

Would love opinions on my current ideas below and alternate ways to approach this. Please note I don't really want to make the form longer by adding a button group with Named/Unnamed because named will be the majority of use cases.

tried solutions

Thanks in advance

2 Answers 2


A checkbox after the first Name field, with label Unnamed. Once checked, the Name field is disabled, and two new fields appear (or are already there but become enabled) below, with labels Mother's Name and Father's Name


Although what straya mentions is actually a very conventional method and I agree, I personally think it's a bit more graceful to add a text link underneath (as you did), which switches between input fields. I think that you should separate the mother and father's name. It's cleaner and easier to store in database.

enter image description here

  • I like this design, and as an aside, you wouldn't necessarily have to store any different values in the database, Rather, you could examine which data is present in order to display the simple (name only) or advanced (mother's and father's name) versions appropriately. Commented Mar 11, 2020 at 14:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.