1

I have a form with 2 mandatory fields, but once one is filled the other is not required. Means the user can select which one of these fields he wishes to fill. The fields order in the form is not fixed, means the user can modify it and reorder, so these 2 fields are not next to each other (and I can't force them to be).

How can I indicate that these 2 fields are mandatory but the user can select between them? if I mark both of them as mandatory (e.g. color in Red) the user may think he actually need to fill both while that's not really required?

Tnx in advance!

  • Do you validate the filled one before the other becomes optional? How are you indicating "required" (/ "optional"?) right now? – Alvaro Feb 8 '17 at 13:08
  • Not really. One field is free text while the other is a selection from pre-set options. Yes, I indicate which fields are required – Lior Benderski Feb 8 '17 at 13:11
0

Without more context these are some suggestions:

  • Indicate explicitly in the Label of both options that either this or the other is required.
  • You could make use of a third setting (a radio button or a dropdown) to select which of these the user wants to fill.

If there is any chance you could provide some image or real case information (or similar example) it might be easier to give a more specific solution.

  • Tnx for this, I guess that a label for both will do. A radio button or dropdown is not possible. Much appreciated. – Lior Benderski Feb 8 '17 at 13:26
  • You are welcome :) I am not sure how valid are these solutions for your case, but I'm glad if they helped. – Alvaro Feb 8 '17 at 13:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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