You do not need an app
Open Images to PDF in Chrome on Android or Safari on iPhone. The conversion runs inside the browser, so it works the same as on a computer and your photos are not sent anywhere.
Step by step
Tap the file area and pick the photos from your gallery or files. Select them in the order you want the pages to appear; you can add more later with the + button.
Choose A4 for documents that will be printed or uploaded to an office portal, then pick portrait or landscape and a margin.
Tap Make PDF and download the file. On Android it goes to Downloads; on iPhone, tap the download and save it to Files.
If you are photographing paper
For certificates, receipts or notes, use Scan document instead. It straightens the page, removes the shadow of your hand and makes the background white, so the PDF looks like a real scan.
If the form has a size limit
Phone photos are large, so a few pages can be several MB. Run the PDF through Compress PDF to a size and type the limit the form gives, such as 200 KB.
If your iPhone saved a photo as HEIC and it will not open, convert it with HEIC to JPG first.