Conditionally render "required" only if field is empty

  • 1
  • Idea
  • Updated 4 years ago
Conditionally render "required" only if field is empty
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb

Posted 4 years ago

  • 1
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,006 Points 20k badge 2x thumb
Devils advocate: Having the required indicator on a field with values present shows the user that they should not attempt to clear that value. 
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb
Then make it yellow instead. Something a little less attention commanding to the eye.
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb
Here's a good example of where it would be beneficial to the UX.

Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,006 Points 20k badge 2x thumb
OK.  I'll admit that looks pretty ugly. 

I believe you can override the border color of required fields if you want to make them yellow.   But I also am sure you will want empty fields to be red... 
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb
The option to choose an alternate or no colour would be great.