Setting mandatory fill-in choice when selected

Harshavardhan 21 Reputation points

Dear Team,

I have a choice field with enabling Allow fill-in choice option. This choice field is optional but when they select fill-in choice option, then it should be mandatory to fill something.
is there any work around, please guide me.


Thanks in advance.

SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,761 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. JoyZ 18,051 Reputation points

    @Harshavardhan ,


    If you have multiple choice columns have the same value, we could use id and title to meet your requirement:



    Result for your reference:


    Add a content edit web part both in NewForm.aspx and EditForm.aspx and insert following code in them:



    Press F12 to find the radio value used in code:


    Result for your reference:


    If an Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.