Action by clicking the submit button


I need to create an action on the submit button of Contact Form 7. For example, just clicking the submit button will have access to the prices of a particular course.

This is for the purpose of collecting leads.

I saw this function on the following website (in the form on the right side):

Can you give me some idea, suggestion, or guide me in any way …?

Thank you very much in advance.