I have a simple java form in which a user puts in their hospital Medicare number, then a PDF file downloads. The PDF is named the same as the Medicare number. Here's what it looks like:
But now we want to add another submit button that downloads another file. The user would still put in their Medicare number (same as current form), but instead of downloading a PDF, they'd download an Excel file (which is named the same as the Medicare number).
Here's what the new page should like like:
I tried to play with the code (I'm not a programmer, obviously), but no matter what I did, it only downloaded either the PDF or .xlsx file...not both. Or it didn't download anything.
I'm thinking this would be quick and easy for a programmer. I'd like someone to just provide the code and I'll test it on my end.