Insert the survey form to woocommerce thank you/order confirmation page
- Install the Formidable Forms plugin and create new form based on your needs and preferences. I had personally created the form that has fields such as name, email, subject(automatically filled with the post title), questions and hidden product page url (also automatically generated). All this info is setup to be sent to the admin email when the form is submitted by the user.
- Copy over the code from current repository to your functions.php replacing the following: in brackets
echo FrmFormsController::show_form(28, $key = 'frmprocontact2', $title=false, $description=true);
as follows: (Your created Formidable Form ID, $key= 'Formidable Form Key', $title = true or false depending on wheter or not you would like to display the title set in form, $description = true or false depeneding on whether or not you would like to display description from the form). - Note: You ca