Hi @Anonymous
Add a gallery and assign its Items = AttachmentDatacard.Attatchments
add a label and a checkbox to the gallery
the label Text = ThisItem.Name
the checkbox Default = If(Mid(ThisItem.Name,Find(".",ThisItem.Name)+1,3) = "pdf",true,false)
Once the files are uploaded this is what you get

hope it helps
If this post helps you in a lot or a little, give it a Thumbs up. If it answered your question, Mark it as a Solution to enable other users find it.