Populate a form with click on a button

[ad_1]

Dear developers,
thank you for your great plugin!

Is it possible to populate a form with values “stored” inside a button? For example i have a calculator for running pace and i want to include several buttons like “10k”, “Marathon”, “Half-Marathon” and so on, such that the user doesn’t have to write it themselves if they don’t want to.

I already tried to include the Populate a Form by Default script in an onclick event, but it didn’t work.

Thank you in advance!

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer