How to add form field description with JSON to the form?

Vlad Talyanskiy 21 Reputation points
2022-04-28T15:33:30.347+00:00

Hello,
When I use typical JSON code to modify my form like this:
"sections": [
{
"displayname": "Personal Details",
"fields": [
"FirstName",
"Title",
"ShippingAddress",
"ExternalEmail",
"MobilePhoneNumber"
]
}
How can I add field's description?
197419-image.png

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,789 questions
0 comments No comments
{count} votes

Accepted answer
  1. Emily Du-MSFT 43,831 Reputation points Microsoft Vendor
    2022-04-29T02:32:47.427+00:00

    @Vlad Talyanskiy

    I'm glad to hear you solve the problem ,if you have any issue about SharePoint, you are welcome to raise a ticket in this forum.

    By the way, since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others.". and according to the scenario introduced here: Answering your own questions on Microsoft Q&A, I would make a brief summary of this thread:

    [How to add form field description with JSON to the form?]

    Issue Symptom:
    Hello,
    When I use typical JSON code to modify my form like this:

    "sections": [  
    {  
    "displayname": "Personal Details",  
    "fields": [  
    "FirstName",  
    "Title",  
    "ShippingAddress",  
    "ExternalEmail",  
    "MobilePhoneNumber"  
    ]  
    }  
    

    How can I add field's description?

    Current status:
    Just realized that the description of the fields is being displayed automatically if populated:

    197563-image.png

    You could click the "Accept Answer" button for this summary to close this thread, and this can make it easier for other community member's to see the useful information when reading this thread. Thanks for your understanding!


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    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.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Vlad Talyanskiy 21 Reputation points
    2022-04-28T16:08:56.397+00:00

    Just realized that the description of the fields is being displayed automatically if populated:
    197388-image.png

    0 comments No comments