Adding “ad lib” reports to a Wordpress-themed website

The solution seems fairly simple but I don’t see a lot of websites making use of this type of functionality:

I want one of my websites to allow users to input text into two input boxes, let them submit that information, and then have a report displayed on the page afterwards that shows the text they inputted with predetermined information around their text inputs.

For example, the user inputs “Bob” and “Bill” into two separate text boxes.

The report says:
Bob invite Bill to the car show.

If you user inputs “Jack” and “Jill,” the report says:
Jack invite Jill to the car show.

What is the best way to accomplish this with a website which is using a Wordpress theme?

Could this possibly be done with the GravityForms plugin or something similar?

It sounds like a very specific case. This would be trivial to do with a custom plugin or edit to your theme, assuming it doesn’t have to store or send the results somewhere.

You could try some contact form plugins but they’re likely overkill unless there’s more to it. Here’s a complicated example using Gravity Forms for example - but I suspect that your use case has some specific quirks and it may not quite do what you want.

You might get more traction using the search term “mad libs” and not “ad lib.”

Searching “mad libs wordpress plugin” took me to a lot of examples.