feedback-form.php
| 1 | <?php |
| 2 | /** |
| 3 | * Feedback Form / Survey Form pattern. |
| 4 | * |
| 5 | * @link https://sureforms.com |
| 6 | * @since 0.0.1 |
| 7 | * @package SureForms/Templates/Forms |
| 8 | * @author SureForms <https://sureforms.com/> |
| 9 | */ |
| 10 | |
| 11 | if ( ! defined( 'ABSPATH' ) ) { |
| 12 | exit; // Exit if accessed directly. |
| 13 | } |
| 14 | |
| 15 | return [ |
| 16 | 'title' => __( 'Feedback Form / Survey Form', 'sureforms' ), |
| 17 | 'slug' => 'survey-form', |
| 18 | 'info' => __( 'Form for conducting surveys', 'sureforms' ), |
| 19 | 'categories' => [ 'sureforms_form' ], |
| 20 | 'templateCategory' => __( 'Survey', 'sureforms' ), |
| 21 | 'postTypes' => SRFM_FORMS_POST_TYPE, |
| 22 | 'content' => '<!-- wp:srfm/advanced-heading {"block_id":"a9e4f8ad","headingTitle":"Customer Survey","headingDescToggle":true,"headingDesc":"Please take a moment to complete a short survey and let us know how much you like our service.","subHeadingColor":"#575757","headingTag":"h3","headSpace":12,"subHeadSpace":20,"subHeadFontSize":18} /--><!-- wp:srfm/input {"block_id":"c7894ce2","required":true,"label":"Name","formId":82} /--><!-- wp:srfm/email {"block_id":"82ea2785","required":true,"formId":82} /--><!-- wp:srfm/multi-choice {"block_id":"3a7ef9dd","required":true,"options":[{"optionTitle":"Food was great"},{"optionTitle":"Staff service"},{"optionTitle":"Location was great"},{"optionTitle":"Something else"}],"label":"What did you like about our lodge?","formId":82} /--><!-- wp:srfm/textarea {"block_id":"7046569e","label":"Any Comment","formId":82} /-->', |
| 23 | 'isPro' => false, |
| 24 | ]; |
| 25 |