pnp / List-Formatting

List Formatting Samples for use in SharePoint and Microsoft Lists
https://pnp.github.io/List-Formatting/
MIT License
1.77k stars 848 forks source link

Configure body of a form in MS Lists - problem #535

Closed JanSpotak closed 1 year ago

JanSpotak commented 2 years ago

Hi all, thanks a lot for a great tips and all useful tools. I was trying to configure the body of my form in Lists - braking scroll down form into different sections with assigned fields. Somehow, it didn't really followed the structure I assigned - it distributed all fields equally 4 in each section. That's not what i needed. (for example the "Engagement status" and "Deadline for required documents" fields ended up under "Accommodation & Travel" section instead of "Details" section. Any advice where have I missed something? Huge thanks! Jan

Screenshot of the problem:

Screenshot 2022-05-07 at 11 56 37

Here's the code I'm using: { "sections": [ { "displayname": "", "fields": [ "Title", "E-mail", "Assigned to", "Priority" ] }, { "displayname": "General information", "fields": [ "Position", "Status", "Start of engagement", "End of engagement" ] }, { "displayname": "Details", "fields": [ "Form of engagement", "Engagement Status", "Required documents", "Received documents", "Deadline for required documents", "Work permit" ] }, { "displayname": "Accommodation & Travel", "fields": [ "Accommodation", "Travel" ] } ] } [Enter feedback here]

tecchan1107 commented 1 year ago

Sorry for the delay in commenting😢

Looking at the image, there is a difference between the field name displayed on the form and the field name written in the JSON. Therefore, it is assumed that the items are not displayed in the intended location. image