Working with mandatory fields

Return to top

4 Comments

  • Shameen Rana

    Hi

    I am not able to make the checkbox field required, Is there any way to make it required or default set it to true.

    0
  • Phoebe Morin
    Zendesk Customer Care

    Hi Shameen, 

    This wasn’t implemented by design because it’s hard to tell when a checkbox is unchecked, whether it means “null” or “no”. This is ideal - database wise. The recommendation if something should be a required field is to create it as a dropdown with only the option Yes. Therefore, someone has to positively say 'yes' for it to create/update stage.
     
    I certainly hope this helps! 
    0
  • Fung, Carol

    Hi Phoebe,

    I have tried using drop down menu as suggested to replace the checkbox. We set it as a mandatory field with "yes" as an only option. But in the ticket it shows "-" by default where customer can still submit it without selecting Yes. 

    Any idea how to fix this issue?

    0
  • Charlotte
    Zendesk Customer Care

    Hi Carol, 

    It looks like this will need a bit more investigation so I have opened a ticket for you where we can have a closer look. 

    Cheers.

    0

Please sign in to leave a comment.

Powered by Zendesk