Plugin Directory

Changeset 3223312


Ignore:
Timestamp:
01/16/2025 03:19:37 AM (15 months ago)
Author:
anwerashif
Message:

Update to version 1.1.0

Location:
formzard
Files:
14 added
4 edited

Legend:

Unmodified
Added
Removed
  • formzard/trunk/formzard.php

    r3219192 r3223312  
    44 * Plugin URI: https://wordpress.org/plugins/formzard
    55 * Description: Contact Form 7 Pre-designed Templates Addon - Easily add pre-built templates like job applications, event registration, and more to your Contact Form 7 forms.
    6  * Version: 1.0.0
    7  * Author: Anwer
     6 * Version: 1.1.0
     7 * Requires at least: 5.6
     8 * Requires PHP: 7.2
     9 * Author: Anwer Ashif
    810 * Author URI: https://profiles.wordpress.org/anwerashif/
     11 * License: GPLv2 or later
     12 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
    913 * Text Domain: formzard
    1014 * Domain Path: /languages
    11  * License: GPLv2 or later
    12  * License URI: https://www.gnu.org/licenses/gpl-2.0.html
    13  * Requires PHP: 7.2
    14  * Requires at least: 5.6
    1515 * Tested up to: 6.7
    16  * Tags: contact form 7, templates, forms, addon
    1716 */
    1817
  • formzard/trunk/includes/admin-page.php

    r3219181 r3223312  
    1818        <h1><?php esc_html_e('Formzard - Pre-designed Templates for Contact Form 7', 'formzard'); ?></h1>
    1919        <p><?php esc_html_e('Select a template to import it into Contact Form 7.', 'formzard'); ?></p>
     20       
     21        <!-- Search Box -->
     22        <input type="text" id="formzard-template-search" placeholder="<?php esc_attr_e('Search templates...', 'formzard'); ?>" style="margin-bottom: 15px; padding: 10px; width: 100%;">
     23
     24        <!-- Templates Grid -->
    2025        <div id="formzard-templates-grid">
    2126            <?php
     
    2328            foreach ($templates as $template) {
    2429                ?>
    25                 <div class="formzard-template">
     30                <div class="formzard-template" data-template-name="<?php echo esc_attr(strtolower($template['name'])); ?>">
    2631                    <h3><?php echo esc_html($template['name']); ?></h3>
    2732                    <p><?php echo esc_html($template['description']); ?></p>
     
    3439            ?>
    3540        </div>
     41
     42        <!-- Add JavaScript for Filtering -->
     43        <script>
     44            document.getElementById('formzard-template-search').addEventListener('input', function () {
     45                const searchValue = this.value.toLowerCase();
     46                const templates = document.querySelectorAll('.formzard-template');
     47               
     48                templates.forEach(function (template) {
     49                    const templateName = template.getAttribute('data-template-name');
     50                    if (templateName.includes(searchValue)) {
     51                        template.style.display = 'block';
     52                    } else {
     53                        template.style.display = 'none';
     54                    }
     55                });
     56            });
     57        </script>
    3658    </div>
    3759    <?php
  • formzard/trunk/includes/template-functions.php

    r3219181 r3223312  
    115115            'name' => __('Survey Form', 'formzard'),
    116116            'description' => __('A simple survey form with multiple choice questions.', 'formzard'),
    117             'form' => '<label> Question 1
     117            'form' => '<label> Your name
     118[text* your-name] </label>
     119
     120<label> Your email
     121[email* your-email] </label>
     122
     123<label> Question 1
    118124[radio* question-1 "Option 1" "Option 2" "Option 3"] </label>
    119125
     
    503509[select* business-type "Retailer" "Distributor" "Manufacturer" "Other"] </label>
    504510
    505 <label> Interested Products
    506 [checkbox* interested-products "Product A" "Product B" "Product C"] </label>
     511<label> Interested Products </label>
     512[checkbox* interested-products "Product A" "Product B" "Product C"]
    507513
    508514<label> Preferred Contact Method
     
    603609                'use_html' => false
    604610            ]
     611        ],
     612        [
     613            'id' => 'payment_authorization',
     614            'name' => __('Payment Authorization Form', 'formzard'),
     615            'description' => __('A form to authorize payments with name, email, payment method, and authorization details.', 'formzard'),
     616            'form' => '<label> Your name
     617[text* your-name] </label>
     618
     619<label> Your email
     620[email* your-email] </label>
     621
     622<label> Payment Method
     623[select* payment-method "Credit Card" "PayPal" "Bank Transfer"] </label>
     624
     625<label> Authorization Date
     626[date* authorization-date] </label>
     627
     628<label> Attach Authorization Document
     629[file* authorization-document] </label>
     630
     631<label> I authorize the payment
     632[acceptance* terms] </label>
     633
     634[submit "Authorize Payment"]',
     635            'mail' => [
     636                'active' => true,
     637                'recipient' => '[_site_admin_email]',
     638                'subject' => 'New payment authorization from [your-name]',
     639                'sender' => '[_site_title] <' . $default_sender_email . '>',
     640                'body' => 'You have a new payment authorization:\n\nName: [your-name]\nEmail: [your-email]\nPayment Method: [payment-method]\nAuthorization Date: [authorization-date]',
     641                'additional_headers' => 'Reply-To: [your-email]',
     642                'attachments' => '[authorization-document]',
     643                'use_html' => false
     644            ]
     645        ],
     646        [
     647            'id' => 'student_feedback',
     648            'name' => __('Student Feedback Form', 'formzard'),
     649            'description' => __('A form to collect feedback from students with various input types.', 'formzard'),
     650            'form' => '<label> Your name
     651[text* your-name] </label>
     652
     653<label> Your email
     654[email* your-email] </label>
     655
     656<label> Course Rating
     657[radio* course-rating "1 Star" "2 Stars" "3 Stars" "4 Stars" "5 Stars"] </label>
     658
     659<label> Favorite Subject
     660[select* favorite-subject "Math" "Science" "History" "Literature"] </label>
     661
     662<label> Additional Comments
     663[textarea comments] </label>
     664
     665<label> Attach a file (optional)
     666[file feedback-file] </label>
     667
     668<label> I agree to the terms and conditions
     669[acceptance* terms] </label>
     670
     671[submit "Submit Feedback"]',
     672            'mail' => [
     673                'active' => true,
     674                'recipient' => '[_site_admin_email]',
     675                'subject' => 'New student feedback from [your-name]',
     676                'sender' => '[_site_title] <' . $default_sender_email . '>',
     677                'body' => 'You have new student feedback:\n\nName: [your-name]\nEmail: [your-email]\nCourse Rating: [course-rating]\nFavorite Subject: [favorite-subject]\nComments: [comments]',
     678                'additional_headers' => 'Reply-To: [your-email]',
     679                'attachments' => '[feedback-file]',
     680                'use_html' => false
     681            ]
     682        ],
     683        [
     684            'id' => 'scholarship_application',
     685            'name' => __('Scholarship Application Form', 'formzard'),
     686            'description' => __('A form for scholarship applications with various input types.', 'formzard'),
     687            'form' => '<label> Your name
     688[text* your-name] </label>
     689
     690<label> Your email
     691[email* your-email] </label>
     692
     693<label> Date of Birth
     694[date* dob] </label>
     695
     696<label> Select Scholarship Type
     697[select* scholarship-type "Merit-based" "Need-based" "Athletic" "Artistic"] </label>
     698
     699<label> Academic Achievements
     700[textarea* academic-achievements] </label>
     701
     702<label> Upload Transcript
     703[file* transcript] </label>
     704
     705<label> Why do you deserve this scholarship?
     706[textarea* scholarship-reason] </label>
     707
     708<label> I agree to the terms and conditions
     709[acceptance* terms] </label>
     710
     711[submit "Apply"]',
     712            'mail' => [
     713                'active' => true,
     714                'recipient' => '[_site_admin_email]',
     715                'subject' => 'New scholarship application from [your-name]',
     716                'sender' => '[_site_title] <' . $default_sender_email . '>',
     717                'body' => 'You have a new scholarship application:\n\nName: [your-name]\nEmail: [your-email]\nDate of Birth: [dob]\nScholarship Type: [scholarship-type]\nAcademic Achievements: [academic-achievements]\nReason: [scholarship-reason]',
     718                'additional_headers' => 'Reply-To: [your-email]',
     719                'attachments' => '[transcript]',
     720                'use_html' => false
     721            ]
     722        ],
     723        [
     724            'id' => 'event_participation',
     725            'name' => __('Event Participation Form', 'formzard'),
     726            'description' => __('A form to participate in events with various input types.', 'formzard'),
     727            'form' => '<label> Your name
     728[text* your-name] </label>
     729
     730<label> Your email
     731[email* your-email] </label>
     732
     733<label> Select Event
     734[select* event "Event 1" "Event 2" "Event 3"] </label>
     735
     736<label> Participation Type
     737[radio* participation-type "Speaker" "Attendee" "Volunteer"] </label>
     738
     739<label> Dietary Preferences </label>
     740[checkbox* dietary-preferences "Vegetarian" "Vegan" "Gluten-Free" "No Preference"]
     741
     742<label> Upload Profile Picture
     743[file profile-picture] </label>
     744
     745<label> Quiz: What is 2 + 2?
     746[quiz* quiz-answer "4" "3" "5"] </label>
     747
     748<label> I agree to the terms and conditions
     749[acceptance* terms] </label>
     750
     751[submit "Participate"]',
     752            'mail' => [
     753                'active' => true,
     754                'recipient' => '[_site_admin_email]',
     755                'subject' => 'New event participation from [your-name]',
     756                'sender' => '[_site_title] <' . $default_sender_email . '>',
     757                'body' => 'You have a new event participation:\n\nName: [your-name]\nEmail: [your-email]\nEvent: [event]\nParticipation Type: [participation-type]\nDietary Preferences: [dietary-preferences]\nQuiz Answer: [quiz-answer]',
     758                'additional_headers' => 'Reply-To: [your-email]',
     759                'attachments' => '[profile-picture]',
     760                'use_html' => false
     761            ]
     762        ],
     763        [
     764            'id' => 'online_exam',
     765            'name' => __('Online Exam Form', 'formzard'),
     766            'description' => __('A form for online exam registration with various input types.', 'formzard'),
     767            'form' => '<label> Your name
     768[text* your-name] </label>
     769
     770<label> Your email
     771[email* your-email] </label>
     772
     773<label> Select Exam
     774[select* exam "Math Exam" "Science Exam" "History Exam"] </label>
     775
     776<label> Preferred Exam Date
     777[date* exam-date] </label>
     778
     779<label> Upload ID Proof
     780[file* id-proof] </label>
     781
     782<label> Quiz: What is the capital of France?
     783[quiz* quiz-answer "Paris" "London" "Berlin"] </label>
     784
     785<label> I agree to the terms and conditions
     786[acceptance* terms] </label>
     787
     788[submit "Register"]',
     789            'mail' => [
     790                'active' => true,
     791                'recipient' => '[_site_admin_email]',
     792                'subject' => 'New online exam registration from [your-name]',
     793                'sender' => '[_site_title] <' . $default_sender_email . '>',
     794                'body' => 'You have a new online exam registration:\n\nName: [your-name]\nEmail: [your-email]\nExam: [exam]\nPreferred Exam Date: [exam-date]\nQuiz Answer: [quiz-answer]',
     795                'additional_headers' => 'Reply-To: [your-email]',
     796                'attachments' => '[id-proof]',
     797                'use_html' => false
     798            ]
     799        ],
     800        [
     801            'id' => 'elearning_subscription',
     802            'name' => __('E-Learning Subscription Form', 'formzard'),
     803            'description' => __('A form for subscribing to e-learning courses with various input types.', 'formzard'),
     804            'form' => '<label> Your name
     805[text* your-name] </label>
     806
     807<label> Your email
     808[email* your-email] </label>
     809
     810<label> Select Course
     811[select* course "Course A" "Course B" "Course C"] </label>
     812
     813<label> Preferred Learning Method
     814[radio* learning-method "Online" "Offline"] </label>
     815
     816<label> Subscription Duration </label>
     817[checkbox* subscription-duration "1 Month" "3 Months" "6 Months" "1 Year"]
     818
     819<label> Preferred Start Date
     820[date* start-date] </label>
     821
     822<label> Upload ID Proof
     823[file* id-proof] </label>
     824
     825<label> Quiz: What is 5 + 3?
     826[quiz* quiz-answer "8" "7" "9"] </label>
     827
     828<label> I agree to the terms and conditions
     829[acceptance* terms] </label>
     830
     831[submit "Subscribe"]',
     832            'mail' => [
     833                'active' => true,
     834                'recipient' => '[_site_admin_email]',
     835                'subject' => 'New e-learning subscription from [your-name]',
     836                'sender' => '[_site_title] <' . $default_sender_email . '>',
     837                'body' => 'You have a new e-learning subscription:\n\nName: [your-name]\nEmail: [your-email]\nCourse: [course]\nLearning Method: [learning-method]\nSubscription Duration: [subscription-duration]\nPreferred Start Date: [start-date]\nQuiz Answer: [quiz-answer]',
     838                'additional_headers' => 'Reply-To: [your-email]',
     839                'attachments' => '[id-proof]',
     840                'use_html' => false
     841            ]
     842        ],
     843        [
     844            'id' => 'alumni_contact',
     845            'name' => __('Alumni Contact Form', 'formzard'),
     846            'description' => __('A form to contact alumni with various input types.', 'formzard'),
     847            'form' => '<label> Your name
     848[text* your-name] </label>
     849
     850<label> Your email
     851[email* your-email] </label>
     852
     853<label> Graduation Year
     854[date graduation-year] </label>
     855
     856<label> Preferred Contact Method
     857[radio* contact-method "Email" "Phone"] </label>
     858
     859<label> Areas of Interest </label>
     860[checkbox* areas-of-interest "Networking" "Mentorship" "Events" "Donations"]
     861
     862<label> Upload Profile Picture
     863[file profile-picture] </label>
     864
     865<label> Quiz: What is the square root of 16?
     866[quiz* quiz-answer "4" "5" "6"] </label>
     867
     868<label> I agree to the terms and conditions
     869[acceptance* terms] </label>
     870
     871[submit "Submit"]',
     872            'mail' => [
     873                'active' => true,
     874                'recipient' => '[_site_admin_email]',
     875                'subject' => 'New alumni contact from [your-name]',
     876                'sender' => '[_site_title] <' . $default_sender_email . '>',
     877                'body' => 'You have a new alumni contact:\n\nName: [your-name]\nEmail: [your-email]\nGraduation Year: [graduation-year]\nPreferred Contact Method: [contact-method]\nAreas of Interest: [areas-of-interest]\nQuiz Answer: [quiz-answer]',
     878                'additional_headers' => 'Reply-To: [your-email]',
     879                'attachments' => '[profile-picture]',
     880                'use_html' => false
     881            ]
     882        ],
     883        [
     884            'id' => 'volunteer_application',
     885            'name' => __('Volunteer Application Form', 'formzard'),
     886            'description' => __('A form for volunteer applications with various input types.', 'formzard'),
     887            'form' => '<label> Your name
     888[text* your-name] </label>
     889
     890<label> Your email
     891[email* your-email] </label>
     892
     893<label> Preferred Volunteer Role
     894[select* volunteer-role "Event Organizer" "Fundraiser" "Community Outreach" "Administrative Support"] </label>
     895
     896<label> Availability </label>
     897[checkbox* availability "Weekdays" "Weekends" "Evenings"]
     898
     899<label> Upload Resume
     900[file resume] </label>
     901
     902<label> Why do you want to volunteer with us?
     903[textarea* volunteer-reason] </label>
     904
     905<label> Quiz: What is 3 + 5?
     906[quiz* quiz-answer "8" "7" "9"] </label>
     907
     908<label> I agree to the terms and conditions
     909[acceptance* terms] </label>
     910
     911[submit "Apply"]',
     912            'mail' => [
     913                'active' => true,
     914                'recipient' => '[_site_admin_email]',
     915                'subject' => 'New volunteer application from [your-name]',
     916                'sender' => '[_site_title] <' . $default_sender_email . '>',
     917                'body' => 'You have a new volunteer application:\n\nName: [your-name]\nEmail: [your-email]\nPreferred Role: [volunteer-role]\nAvailability: [availability]\nReason: [volunteer-reason]\nQuiz Answer: [quiz-answer]',
     918                'additional_headers' => 'Reply-To: [your-email]',
     919                'attachments' => '[resume]',
     920                'use_html' => false
     921            ]
     922        ],
     923        [
     924            'id' => 'tutoring_request',
     925            'name' => __('Tutoring Request Form', 'formzard'),
     926            'description' => __('A form to request tutoring services with various input types.', 'formzard'),
     927            'form' => '<label> Your name
     928[text* your-name] </label>
     929
     930<label> Your email
     931[email* your-email] </label>
     932
     933<label> Subject
     934[select* subject "Math" "Science" "History" "Literature"] </label>
     935
     936<label> Preferred Tutoring Method
     937[radio* tutoring-method "Online" "In-Person"] </label>
     938
     939<label> Preferred Tutoring Date
     940[date* tutoring-date] </label>
     941
     942<label> Additional Details
     943[textarea additional-details] </label>
     944
     945<label> Upload Supporting Documents (optional)
     946[file supporting-documents] </label>
     947
     948<label> Quiz: What is 10 + 5?
     949[quiz* quiz-answer "15" "10" "20"] </label>
     950
     951<label> I agree to the terms and conditions
     952[acceptance* terms] </label>
     953
     954[submit "Request Tutoring"]',
     955            'mail' => [
     956                'active' => true,
     957                'recipient' => '[_site_admin_email]',
     958                'subject' => 'New tutoring request from [your-name]',
     959                'sender' => '[_site_title] <' . $default_sender_email . '>',
     960                'body' => 'You have a new tutoring request:\n\nName: [your-name]\nEmail: [your-email]\nSubject: [subject]\nPreferred Tutoring Method: [tutoring-method]\nPreferred Tutoring Date: [tutoring-date]\nAdditional Details: [additional-details]\nQuiz Answer: [quiz-answer]',
     961                'additional_headers' => 'Reply-To: [your-email]',
     962                'attachments' => '[supporting-documents]',
     963                'use_html' => false
     964            ]
     965        ],
     966        [
     967            'id' => 'workshop_registration',
     968            'name' => __('Workshop Registration Form', 'formzard'),
     969            'description' => __('A form for workshop registration with various input types.', 'formzard'),
     970            'form' => '<label> Your name
     971[text* your-name] </label>
     972
     973<label> Your email
     974[email* your-email] </label>
     975
     976<label> Select Workshop
     977[select* workshop "Workshop 1" "Workshop 2" "Workshop 3"] </label>
     978
     979<label> Preferred Contact Method
     980[radio* contact-method "Email" "Phone"] </label>
     981
     982<label> Dietary Preferences </label>
     983[checkbox* dietary-preferences "Vegetarian" "Vegan" "Gluten-Free" "No Preference"]
     984
     985<label> Upload Profile Picture
     986[file profile-picture] </label>
     987
     988<label> Quiz: What is 3 + 4?
     989[quiz* quiz-answer "7" "6" "8"] </label>
     990
     991<label> I agree to the terms and conditions
     992[acceptance* terms] </label>
     993
     994[submit "Register"]',
     995            'mail' => [
     996                'active' => true,
     997                'recipient' => '[_site_admin_email]',
     998                'subject' => 'New workshop registration from [your-name]',
     999                'sender' => '[_site_title] <' . $default_sender_email . '>',
     1000                'body' => 'You have a new workshop registration:\n\nName: [your-name]\nEmail: [your-email]\nWorkshop: [workshop]\nPreferred Contact Method: [contact-method]\nDietary Preferences: [dietary-preferences]\nQuiz Answer: [quiz-answer]',
     1001                'additional_headers' => 'Reply-To: [your-email]',
     1002                'attachments' => '[profile-picture]',
     1003                'use_html' => false
     1004            ]
     1005        ],
     1006        [
     1007            'id' => 'fundraising_event_registration',
     1008            'name' => __('Fundraising Event Registration Form', 'formzard'),
     1009            'description' => __('A form for registering for a fundraising event with various input types.', 'formzard'),
     1010            'form' => '<label> Your name
     1011[text* your-name] </label>
     1012
     1013<label> Your email
     1014[email* your-email] </label>
     1015
     1016<label> Select Event
     1017[select* event "Gala Dinner" "Charity Run" "Auction"] </label>
     1018
     1019<label> Participation Type
     1020[radio* participation-type "Individual" "Group"] </label>
     1021
     1022<label> Dietary Preferences </label>
     1023[checkbox* dietary-preferences "Vegetarian" "Vegan" "Gluten-Free" "No Preference"]
     1024
     1025<label> Upload Profile Picture
     1026[file profile-picture] </label>
     1027
     1028<label> Quiz: What is 5 + 7?
     1029[quiz* quiz-answer "12" "10" "14"] </label>
     1030
     1031<label> I agree to the terms and conditions
     1032[acceptance* terms] </label>
     1033
     1034[submit "Register"]',
     1035            'mail' => [
     1036                'active' => true,
     1037                'recipient' => '[_site_admin_email]',
     1038                'subject' => 'New fundraising event registration from [your-name]',
     1039                'sender' => '[_site_title] <' . $default_sender_email . '>',
     1040                'body' => 'You have a new fundraising event registration:\n\nName: [your-name]\nEmail: [your-email]\nEvent: [event]\nParticipation Type: [participation-type]\nDietary Preferences: [dietary-preferences]\nQuiz Answer: [quiz-answer]',
     1041                'additional_headers' => 'Reply-To: [your-email]',
     1042                'attachments' => '[profile-picture]',
     1043                'use_html' => false
     1044            ]
     1045        ],
     1046        [
     1047            'id' => 'patient_intake',
     1048            'name' => __('Patient Intake Form', 'formzard'),
     1049            'description' => __('A form to gather patient information with various input types.', 'formzard'),
     1050            'form' => '<label> Your name
     1051[text* your-name] </label>
     1052
     1053<label> Your email
     1054[email* your-email] </label>
     1055
     1056<label> Date of Birth
     1057[date* dob] </label>
     1058
     1059<label> Gender
     1060[radio* gender "Male" "Female" "Other"] </label>
     1061
     1062<label> Medical History </label>
     1063[checkbox* medical-history "Diabetes" "Hypertension" "Asthma" "None"]
     1064
     1065<label> Upload Insurance Card
     1066[file insurance-card] </label>
     1067
     1068<label> Preferred Appointment Date
     1069[date* appointment-date] </label>
     1070
     1071<label> Quiz: What is 3 + 3?
     1072[quiz* quiz-answer "6" "5" "7"] </label>
     1073
     1074<label> I agree to the terms and conditions
     1075[acceptance* terms] </label>
     1076
     1077[submit "Submit"]',
     1078            'mail' => [
     1079                'active' => true,
     1080                'recipient' => '[_site_admin_email]',
     1081                'subject' => 'New patient intake from [your-name]',
     1082                'sender' => '[_site_title] <' . $default_sender_email . '>',
     1083                'body' => 'You have a new patient intake:\n\nName: [your-name]\nEmail: [your-email]\nDate of Birth: [dob]\nGender: [gender]\nMedical History: [medical-history]\nPreferred Appointment Date: [appointment-date]\nQuiz Answer: [quiz-answer]',
     1084                'additional_headers' => 'Reply-To: [your-email]',
     1085                'attachments' => '[insurance-card]',
     1086                'use_html' => false
     1087            ]
     1088        ],
     1089        [
     1090            'id' => 'medical_history',
     1091            'name' => __('Medical History Form', 'formzard'),
     1092            'description' => __('A form to collect detailed medical history with various input types.', 'formzard'),
     1093            'form' => '<label> Your name
     1094[text* your-name] </label>
     1095
     1096<label> Your email
     1097[email* your-email] </label>
     1098
     1099<label> Date of Birth
     1100[date* dob] </label>
     1101
     1102<label> Gender
     1103[radio* gender "Male" "Female" "Other"] </label>
     1104
     1105<label> Do you have any of the following conditions? </label>
     1106[checkbox* conditions "Diabetes" "Hypertension" "Asthma" "None"]
     1107
     1108<label> Upload Medical Reports
     1109[file medical-reports] </label>
     1110
     1111<label> Preferred Appointment Date
     1112[date* appointment-date] </label>
     1113
     1114<label> Quiz: What is 7 + 3?
     1115[quiz* quiz-answer "10" "9" "11"] </label>
     1116
     1117<label> I agree to the terms and conditions
     1118[acceptance* terms] </label>
     1119
     1120[submit "Submit"]',
     1121            'mail' => [
     1122                'active' => true,
     1123                'recipient' => '[_site_admin_email]',
     1124                'subject' => 'New medical history submission from [your-name]',
     1125                'sender' => '[_site_title] <' . $default_sender_email . '>',
     1126                'body' => 'You have a new medical history submission:\n\nName: [your-name]\nEmail: [your-email]\nDate of Birth: [dob]\nGender: [gender]\nConditions: [conditions]\nPreferred Appointment Date: [appointment-date]\nQuiz Answer: [quiz-answer]',
     1127                'additional_headers' => 'Reply-To: [your-email]',
     1128                'attachments' => '[medical-reports]',
     1129                'use_html' => false
     1130            ]
     1131        ],
     1132        [
     1133            'id' => 'prescription_refill',
     1134            'name' => __('Prescription Refill Form', 'formzard'),
     1135            'description' => __('A form to request prescription refills with various input types.', 'formzard'),
     1136            'form' => '<label> Your name
     1137[text* your-name] </label>
     1138
     1139<label> Your email
     1140[email* your-email] </label>
     1141
     1142<label> Prescription Number
     1143[text* prescription-number] </label>
     1144
     1145<label> Preferred Refill Date
     1146[date* refill-date] </label>
     1147
     1148<label> Pharmacy Location
     1149[select* pharmacy-location "Location 1" "Location 2" "Location 3"] </label>
     1150
     1151<label> Do you have any allergies? </label>
     1152[checkbox* allergies "None" "Penicillin" "Aspirin" "Other"]
     1153
     1154<label> Upload Prescription
     1155[file* prescription-file] </label>
     1156
     1157<label> Quiz: What is 2 + 3?
     1158[quiz* quiz-answer "5" "4" "6"] </label>
     1159
     1160<label> I agree to the terms and conditions
     1161[acceptance* terms] </label>
     1162
     1163[submit "Request Refill"]',
     1164            'mail' => [
     1165                'active' => true,
     1166                'recipient' => '[_site_admin_email]',
     1167                'subject' => 'New prescription refill request from [your-name]',
     1168                'sender' => '[_site_title] <' . $default_sender_email . '>',
     1169                'body' => 'You have a new prescription refill request:\n\nName: [your-name]\nEmail: [your-email]\nPrescription Number: [prescription-number]\nPreferred Refill Date: [refill-date]\nPharmacy Location: [pharmacy-location]\nAllergies: [allergies]',
     1170                'additional_headers' => 'Reply-To: [your-email]',
     1171                'attachments' => '[prescription-file]',
     1172                'use_html' => false
     1173            ]
     1174        ],
     1175        [
     1176            'id' => 'health_screening',
     1177            'name' => __('Health Screening Form', 'formzard'),
     1178            'description' => __('A form for health screening with various input types.', 'formzard'),
     1179            'form' => '<label> Your name
     1180[text* your-name] </label>
     1181
     1182<label> Your email
     1183[email* your-email] </label>
     1184
     1185<label> Date of Birth
     1186[date* dob] </label>
     1187
     1188<label> Gender
     1189[radio* gender "Male" "Female" "Other"] </label>
     1190
     1191<label> Do you have any of the following symptoms? </label>
     1192[checkbox* symptoms "Fever" "Cough" "Shortness of Breath" "None"]
     1193
     1194<label> Upload Medical Reports (optional)
     1195[file medical-reports] </label>
     1196
     1197<label> Preferred Screening Date
     1198[date* screening-date] </label>
     1199
     1200<label> Quiz: What is 6 + 4?
     1201[quiz* quiz-answer "10" "8" "12"] </label>
     1202
     1203<label> I agree to the terms and conditions
     1204[acceptance* terms] </label>
     1205
     1206[submit "Submit"]',
     1207            'mail' => [
     1208                'active' => true,
     1209                'recipient' => '[_site_admin_email]',
     1210                'subject' => 'New health screening submission from [your-name]',
     1211                'sender' => '[_site_title] <' . $default_sender_email . '>',
     1212                'body' => 'You have a new health screening submission:\n\nName: [your-name]\nEmail: [your-email]\nDate of Birth: [dob]\nGender: [gender]\nSymptoms: [symptoms]\nPreferred Screening Date: [screening-date]\nQuiz Answer: [quiz-answer]',
     1213                'additional_headers' => 'Reply-To: [your-email]',
     1214                'attachments' => '[medical-reports]',
     1215                'use_html' => false
     1216            ]
     1217        ],
     1218        [
     1219            'id' => 'doctor_feedback',
     1220            'name' => __('Doctor Feedback Form', 'formzard'),
     1221            'description' => __('A form to collect feedback about doctors with various input types.', 'formzard'),
     1222            'form' => '<label> Your name
     1223[text* your-name] </label>
     1224
     1225<label> Your email
     1226[email* your-email] </label>
     1227
     1228<label> Doctor\'s Name
     1229[text* doctor-name] </label>
     1230
     1231<label> Rate the Doctor
     1232[radio* doctor-rating "1 Star" "2 Stars" "3 Stars" "4 Stars" "5 Stars"] </label>
     1233
     1234<label> Date of Visit
     1235[date* visit-date] </label>
     1236
     1237<label> What did you like about the doctor? </label>
     1238[checkbox* likes "Professionalism" "Communication" "Knowledge" "Punctuality"]
     1239
     1240<label> Additional Comments
     1241[textarea comments] </label>
     1242
     1243<label> Upload a photo (optional)
     1244[file feedback-photo] </label>
     1245
     1246<label> Quiz: What is 3 + 2?
     1247[quiz* quiz-answer "5" "4" "6"] </label>
     1248
     1249<label> I agree to the terms and conditions
     1250[acceptance* terms] </label>
     1251
     1252[submit "Submit Feedback"]',
     1253            'mail' => [
     1254                'active' => true,
     1255                'recipient' => '[_site_admin_email]',
     1256                'subject' => 'New doctor feedback from [your-name]',
     1257                'sender' => '[_site_title] <' . $default_sender_email . '>',
     1258                'body' => 'You have new doctor feedback:\n\nName: [your-name]\nEmail: [your-email]\nDoctor\'s Name: [doctor-name]\nRating: [doctor-rating]\nDate of Visit: [visit-date]\nLikes: [likes]\nComments: [comments]',
     1259                'additional_headers' => 'Reply-To: [your-email]',
     1260                'attachments' => '[feedback-photo]',
     1261                'use_html' => false
     1262            ]
     1263        ],
     1264        [
     1265            'id' => 'travel_inquiry',
     1266            'name' => __('Travel Inquiry Form', 'formzard'),
     1267            'description' => __('A form to inquire about travel packages with various input types.', 'formzard'),
     1268            'form' => '<label> Your name
     1269[text* your-name] </label>
     1270
     1271<label> Your email
     1272[email* your-email] </label>
     1273
     1274<label> Preferred Travel Destination
     1275[select* travel-destination "Paris" "New York" "Tokyo" "Sydney"] </label>
     1276
     1277<label> Travel Dates </label>
     1278[date* travel-start-date] to [date* travel-end-date]
     1279
     1280<label> Travel Package
     1281[radio* travel-package "Standard" "Deluxe" "Luxury"] </label>
     1282
     1283<label> Additional Services </label>
     1284[checkbox* additional-services "Airport Pickup" "Guided Tours" "Travel Insurance"]
     1285
     1286<label> Upload Passport Copy
     1287[file passport-copy] </label>
     1288
     1289<label> Quiz: What is the capital of Japan?
     1290[quiz* quiz-answer "Tokyo" "Osaka" "Kyoto"] </label>
     1291
     1292<label> I agree to the terms and conditions
     1293[acceptance* terms] </label>
     1294
     1295[submit "Submit Inquiry"]',
     1296            'mail' => [
     1297                'active' => true,
     1298                'recipient' => '[_site_admin_email]',
     1299                'subject' => 'New travel inquiry from [your-name]',
     1300                'sender' => '[_site_title] <' . $default_sender_email . '>',
     1301                'body' => 'You have a new travel inquiry:\n\nName: [your-name]\nEmail: [your-email]\nPreferred Destination: [travel-destination]\nTravel Dates: [travel-start-date] to [travel-end-date]\nTravel Package: [travel-package]\nAdditional Services: [additional-services]',
     1302                'additional_headers' => 'Reply-To: [your-email]',
     1303                'attachments' => '[passport-copy]',
     1304                'use_html' => false
     1305            ]
     1306        ],
     1307        [
     1308            'id' => 'tour_package_request',
     1309            'name' => __('Tour Package Request Form', 'formzard'),
     1310            'description' => __('A form to request tour packages with various input types.', 'formzard'),
     1311            'form' => '<label> Your name
     1312[text* your-name] </label>
     1313
     1314<label> Your email
     1315[email* your-email] </label>
     1316
     1317<label> Select Tour Package
     1318[select* tour-package "Adventure" "Relaxation" "Cultural" "Family"] </label>
     1319
     1320<label> Preferred Travel Dates </label>
     1321[date* travel-start-date] to [date* travel-end-date]
     1322
     1323<label> Additional Services </label>
     1324[checkbox* additional-services "Airport Pickup" "Guided Tours" "Travel Insurance"]
     1325
     1326<label> Upload Passport Copy
     1327[file passport-copy] </label>
     1328
     1329<label> Quiz: What is the capital of Italy?
     1330[quiz* quiz-answer "Rome" "Milan" "Venice"] </label>
     1331
     1332<label> I agree to the terms and conditions
     1333[acceptance* terms] </label>
     1334
     1335[submit "Request Tour Package"]',
     1336            'mail' => [
     1337                'active' => true,
     1338                'recipient' => '[_site_admin_email]',
     1339                'subject' => 'New tour package request from [your-name]',
     1340                'sender' => '[_site_title] <' . $default_sender_email . '>',
     1341                'body' => 'You have a new tour package request:\n\nName: [your-name]\nEmail: [your-email]\nTour Package: [tour-package]\nTravel Dates: [travel-start-date] to [travel-end-date]\nAdditional Services: [additional-services]',
     1342                'additional_headers' => 'Reply-To: [your-email]',
     1343                'attachments' => '[passport-copy]',
     1344                'use_html' => false
     1345            ]
     1346        ],
     1347        [
     1348            'id' => 'room_reservation',
     1349            'name' => __('Room Reservation Form', 'formzard'),
     1350            'description' => __('A form to reserve a room with various input types.', 'formzard'),
     1351            'form' => '<label> Your name
     1352[text* your-name] </label>
     1353
     1354<label> Your email
     1355[email* your-email] </label>
     1356
     1357<label> Room Type
     1358[select* room-type "Single" "Double" "Suite"] </label>
     1359
     1360<label> Check-in Date
     1361[date* checkin-date] </label>
     1362
     1363<label> Check-out Date
     1364[date* checkout-date] </label>
     1365
     1366<label> Additional Services </label>
     1367[checkbox* additional-services "Breakfast" "Airport Pickup" "Gym Access"]
     1368
     1369<label> Upload ID Proof
     1370[file* id-proof] </label>
     1371
     1372<label> Quiz: What is 5 + 5?
     1373[quiz* quiz-answer "10" "9" "11"] </label>
     1374
     1375<label> I agree to the terms and conditions
     1376[acceptance* terms] </label>
     1377
     1378[submit "Reserve Room"]',
     1379            'mail' => [
     1380                'active' => true,
     1381                'recipient' => '[_site_admin_email]',
     1382                'subject' => 'New room reservation from [your-name]',
     1383                'sender' => '[_site_title] <' . $default_sender_email . '>',
     1384                'body' => 'You have a new room reservation:\n\nName: [your-name]\nEmail: [your-email]\nRoom Type: [room-type]\nCheck-in Date: [checkin-date]\nCheck-out Date: [checkout-date]\nAdditional Services: [additional-services]',
     1385                'additional_headers' => 'Reply-To: [your-email]',
     1386                'attachments' => '[id-proof]',
     1387                'use_html' => false
     1388            ]
     1389        ],
     1390        [
     1391            'id' => 'vacation_planning',
     1392            'name' => __('Vacation Planning Form', 'formzard'),
     1393            'description' => __('A form to plan your vacation with various input types.', 'formzard'),
     1394            'form' => '<label> Your name
     1395[text* your-name] </label>
     1396
     1397<label> Your email
     1398[email* your-email] </label>
     1399
     1400<label> Preferred Destination
     1401[select* destination "Hawaii" "Bali" "Maldives" "Switzerland"] </label>
     1402
     1403<label> Travel Dates </label>
     1404[date* travel-start-date] to [date* travel-end-date]
     1405
     1406<label> Travel Package
     1407[radio* travel-package "Standard" "Deluxe" "Luxury"] </label>
     1408
     1409<label> Additional Services </label>
     1410[checkbox* additional-services "Airport Pickup" "Guided Tours" "Travel Insurance"]
     1411
     1412<label> Upload Travel Documents
     1413[file travel-documents] </label>
     1414
     1415<label> Quiz: What is the capital of France?
     1416[quiz* quiz-answer "Paris" "London" "Berlin"] </label>
     1417
     1418<label> I agree to the terms and conditions
     1419[acceptance* terms] </label>
     1420
     1421[submit "Plan Vacation"]',
     1422            'mail' => [
     1423                'active' => true,
     1424                'recipient' => '[_site_admin_email]',
     1425                'subject' => 'New vacation planning request from [your-name]',
     1426                'sender' => '[_site_title] <' . $default_sender_email . '>',
     1427                'body' => 'You have a new vacation planning request:\n\nName: [your-name]\nEmail: [your-email]\nPreferred Destination: [destination]\nTravel Dates: [travel-start-date] to [travel-end-date]\nTravel Package: [travel-package]\nAdditional Services: [additional-services]',
     1428                'additional_headers' => 'Reply-To: [your-email]',
     1429                'attachments' => '[travel-documents]',
     1430                'use_html' => false
     1431            ]
     1432        ],
     1433        [
     1434            'id' => 'travel_insurance_claim',
     1435            'name' => __('Travel Insurance Claim Form', 'formzard'),
     1436            'description' => __('A form to submit travel insurance claims with various input types.', 'formzard'),
     1437            'form' => '<label> Your name
     1438[text* your-name] </label>
     1439
     1440<label> Your email
     1441[email* your-email] </label>
     1442
     1443<label> Policy Number
     1444[text* policy-number] </label>
     1445
     1446<label> Claim Type
     1447[select* claim-type "Medical" "Trip Cancellation" "Lost Baggage" "Other"] </label>
     1448
     1449<label> Incident Date
     1450[date* incident-date] </label>
     1451
     1452<label> Incident Details
     1453[textarea* incident-details] </label>
     1454
     1455<label> Upload Supporting Documents
     1456[file* supporting-documents] </label>
     1457
     1458<label> Quiz: What is 7 + 2?
     1459[quiz* quiz-answer "9" "8" "10"] </label>
     1460
     1461<label> I agree to the terms and conditions
     1462[acceptance* terms] </label>
     1463
     1464[submit "Submit Claim"]',
     1465            'mail' => [
     1466                'active' => true,
     1467                'recipient' => '[_site_admin_email]',
     1468                'subject' => 'New travel insurance claim from [your-name]',
     1469                'sender' => '[_site_title] <' . $default_sender_email . '>',
     1470                'body' => 'You have a new travel insurance claim:\n\nName: [your-name]\nEmail: [your-email]\nPolicy Number: [policy-number]\nClaim Type: [claim-type]\nIncident Date: [incident-date]\nDetails: [incident-details]',
     1471                'additional_headers' => 'Reply-To: [your-email]',
     1472                'attachments' => '[supporting-documents]',
     1473                'use_html' => false
     1474            ]
     1475        ],
     1476        [
     1477            'id' => 'property_inquiry',
     1478            'name' => __('Property Inquiry Form', 'formzard'),
     1479            'description' => __('A form to inquire about properties with various input types.', 'formzard'),
     1480            'form' => '<label> Your name
     1481[text* your-name] </label>
     1482
     1483<label> Your email
     1484[email* your-email] </label>
     1485
     1486<label> Property Type
     1487[select* property-type "Apartment" "House" "Commercial"] </label>
     1488
     1489<label> Preferred Contact Method
     1490[radio* contact-method "Email" "Phone"] </label>
     1491
     1492<label> Inquiry Details
     1493[textarea inquiry-details] </label>
     1494
     1495<label> Attach Supporting Documents (optional)
     1496[file supporting-documents] </label>
     1497
     1498<label> Quiz: What is 10 + 10?
     1499[quiz* quiz-answer "20" "15" "25"] </label>
     1500
     1501<label> I agree to the terms and conditions
     1502[acceptance* terms] </label>
     1503
     1504[submit "Submit Inquiry"]',
     1505            'mail' => [
     1506                'active' => true,
     1507                'recipient' => '[_site_admin_email]',
     1508                'subject' => 'New property inquiry from [your-name]',
     1509                'sender' => '[_site_title] <' . $default_sender_email . '>',
     1510                'body' => 'You have a new property inquiry:\n\nName: [your-name]\nEmail: [your-email]\nProperty Type: [property-type]\nPreferred Contact Method: [contact-method]\nDetails: [inquiry-details]',
     1511                'additional_headers' => 'Reply-To: [your-email]',
     1512                'attachments' => '[supporting-documents]',
     1513                'use_html' => false
     1514            ]
     1515        ],
     1516        [
     1517            'id' => 'rental_application',
     1518            'name' => __('Rental Application Form', 'formzard'),
     1519            'description' => __('A form for rental applications with various input types.', 'formzard'),
     1520            'form' => '<label> Your name
     1521[text* your-name] </label>
     1522
     1523<label> Your email
     1524[email* your-email] </label>
     1525
     1526<label> Desired Move-in Date
     1527[date* move-in-date] </label>
     1528
     1529<label> Rental Type
     1530[select* rental-type "Apartment" "House" "Condo"] </label>
     1531
     1532<label> Do you have pets?
     1533[radio* pets "Yes" "No"] </label>
     1534
     1535<label> Upload ID Proof
     1536[file* id-proof] </label>
     1537
     1538<label> Additional Comments
     1539[textarea comments] </label>
     1540
     1541<label> Quiz: What is 4 + 4?
     1542[quiz* quiz-answer "8" "7" "9"] </label>
     1543
     1544<label> I agree to the terms and conditions
     1545[acceptance* terms] </label>
     1546
     1547[submit "Submit Application"]',
     1548            'mail' => [
     1549                'active' => true,
     1550                'recipient' => '[_site_admin_email]',
     1551                'subject' => 'New rental application from [your-name]',
     1552                'sender' => '[_site_title] <' . $default_sender_email . '>',
     1553                'body' => 'You have a new rental application:\n\nName: [your-name]\nEmail: [your-email]\nDesired Move-in Date: [move-in-date]\nRental Type: [rental-type]\nPets: [pets]\nComments: [comments]\nQuiz Answer: [quiz-answer]',
     1554                'additional_headers' => 'Reply-To: [your-email]',
     1555                'attachments' => '[id-proof]',
     1556                'use_html' => false
     1557            ]
     1558        ],
     1559        [
     1560            'id' => 'mortgage_prequalification',
     1561            'name' => __('Mortgage Prequalification Form', 'formzard'),
     1562            'description' => __('A form to prequalify for a mortgage with various input types.', 'formzard'),
     1563            'form' => '<label> Your name
     1564[text* your-name] </label>
     1565
     1566<label> Your email
     1567[email* your-email] </label>
     1568
     1569<label> Loan Amount
     1570[number* loan-amount] </label>
     1571
     1572<label> Property Type
     1573[select* property-type "Single Family Home" "Condo" "Townhouse" "Multi-Family"] </label>
     1574
     1575<label> Employment Status
     1576[radio* employment-status "Employed" "Self-Employed" "Unemployed" "Retired"] </label>
     1577
     1578<label> Annual Income
     1579[number* annual-income] </label>
     1580
     1581<label> Credit Score
     1582[radio* credit-score "Excellent (750+)" "Good (700-749)" "Fair (650-699)" "Poor (<650)"] </label>
     1583
     1584<label> Preferred Contact Method
     1585[radio* contact-method "Email" "Phone"] </label>
     1586
     1587<label> Upload Financial Documents
     1588[file* financial-documents] </label>
     1589
     1590<label> Quiz: What is 5 + 3?
     1591[quiz* quiz-answer "8" "7" "9"] </label>
     1592
     1593<label> I agree to the terms and conditions
     1594[acceptance* terms] </label>
     1595
     1596[submit "Prequalify"]',
     1597            'mail' => [
     1598                'active' => true,
     1599                'recipient' => '[_site_admin_email]',
     1600                'subject' => 'New mortgage prequalification from [your-name]',
     1601                'sender' => '[_site_title] <' . $default_sender_email . '>',
     1602                'body' => 'You have a new mortgage prequalification:\n\nName: [your-name]\nEmail: [your-email]\nLoan Amount: [loan-amount]\nProperty Type: [property-type]\nEmployment Status: [employment-status]\nAnnual Income: [annual-income]\nCredit Score: [credit-score]\nPreferred Contact Method: [contact-method]',
     1603                'additional_headers' => 'Reply-To: [your-email]',
     1604                'attachments' => '[financial-documents]',
     1605                'use_html' => false
     1606            ]
     1607        ],
     1608        [
     1609            'id' => 'real_estate_agent_contact',
     1610            'name' => __('Real Estate Agent Contact Form', 'formzard'),
     1611            'description' => __('A form to contact a real estate agent with various input types.', 'formzard'),
     1612            'form' => '<label> Your name
     1613[text* your-name] </label>
     1614
     1615<label> Your email
     1616[email* your-email] </label>
     1617
     1618<label> Preferred Contact Method
     1619[radio* contact-method "Email" "Phone"] </label>
     1620
     1621<label> Property Type
     1622[select* property-type "Apartment" "House" "Commercial"] </label>
     1623
     1624<label> Budget Range </label>
     1625[checkbox* budget-range "Under $100,000" "$100,000 - $300,000" "Above $300,000"]
     1626
     1627<label> Preferred Contact Date
     1628[date* contact-date] </label>
     1629
     1630<label> Upload Supporting Documents (optional)
     1631[file supporting-documents] </label>
     1632
     1633<label> Quiz: What is 6 + 4?
     1634[quiz* quiz-answer "10" "8" "12"] </label>
     1635
     1636<label> I agree to the terms and conditions
     1637[acceptance* terms] </label>
     1638
     1639[submit "Contact Agent"]',
     1640            'mail' => [
     1641                'active' => true,
     1642                'recipient' => '[_site_admin_email]',
     1643                'subject' => 'New contact request from [your-name]',
     1644                'sender' => '[_site_title] <' . $default_sender_email . '>',
     1645                'body' => 'You have a new contact request:\n\nName: [your-name]\nEmail: [your-email]\nPreferred Contact Method: [contact-method]\nProperty Type: [property-type]\nBudget Range: [budget-range]\nPreferred Contact Date: [contact-date]\nQuiz Answer: [quiz-answer]',
     1646                'additional_headers' => 'Reply-To: [your-email]',
     1647                'attachments' => '[supporting-documents]',
     1648                'use_html' => false
     1649            ]
     1650        ],
     1651        [
     1652            'id' => 'lease_agreement',
     1653            'name' => __('Lease Agreement Form', 'formzard'),
     1654            'description' => __('A form to submit lease agreements with various input types.', 'formzard'),
     1655            'form' => '<label> Your name
     1656[text* your-name] </label>
     1657
     1658<label> Your email
     1659[email* your-email] </label>
     1660
     1661<label> Lease Start Date
     1662[date* lease-start-date] </label>
     1663
     1664<label> Lease End Date
     1665[date* lease-end-date] </label>
     1666
     1667<label> Property Type
     1668[select* property-type "Apartment" "House" "Condo"] </label>
     1669
     1670<label> Do you have pets?
     1671[radio* pets "Yes" "No"] </label>
     1672
     1673<label> Upload Lease Document
     1674[file* lease-document] </label>
     1675
     1676<label> I agree to the terms and conditions
     1677[acceptance* terms] </label>
     1678
     1679<label> Quiz: What is 7 + 5?
     1680[quiz* quiz-answer "12" "11" "13"] </label>
     1681
     1682[submit "Submit Lease"]',
     1683            'mail' => [
     1684                'active' => true,
     1685                'recipient' => '[_site_admin_email]',
     1686                'subject' => 'New lease agreement from [your-name]',
     1687                'sender' => '[_site_title] <' . $default_sender_email . '>',
     1688                'body' => 'You have a new lease agreement submission:\n\nName: [your-name]\nEmail: [your-email]\nLease Start Date: [lease-start-date]\nLease End Date: [lease-end-date]\nProperty Type: [property-type]\nPets: [pets]',
     1689                'additional_headers' => 'Reply-To: [your-email]',
     1690                'attachments' => '[lease-document]',
     1691                'use_html' => false
     1692            ]
     1693        ],
     1694        [
     1695            'id' => 'property_viewing_request',
     1696            'name' => __('Property Viewing Request Form', 'formzard'),
     1697            'description' => __('A form to request property viewings with various input types.', 'formzard'),
     1698            'form' => '<label> Your name
     1699[text* your-name] </label>
     1700
     1701<label> Your email
     1702[email* your-email] </label>
     1703
     1704<label> Preferred Viewing Date
     1705[date* viewing-date] </label>
     1706
     1707<label> Property Type
     1708[select* property-type "Apartment" "House" "Commercial"] </label>
     1709
     1710<label> Preferred Contact Method
     1711[radio* contact-method "Email" "Phone"] </label>
     1712
     1713<label> Additional Services </label>
     1714[checkbox* additional-services "Virtual Tour" "In-Person Tour" "Agent Assistance"]
     1715
     1716<label> Upload Supporting Documents (optional)
     1717[file supporting-documents] </label>
     1718
     1719<label> Quiz: What is 8 + 2?
     1720[quiz* quiz-answer "10" "9" "11"] </label>
     1721
     1722<label> I agree to the terms and conditions
     1723[acceptance* terms] </label>
     1724
     1725[submit "Request Viewing"]',
     1726            'mail' => [
     1727                'active' => true,
     1728                'recipient' => '[_site_admin_email]',
     1729                'subject' => 'New property viewing request from [your-name]',
     1730                'sender' => '[_site_title] <' . $default_sender_email . '>',
     1731                'body' => 'You have a new property viewing request:\n\nName: [your-name]\nEmail: [your-email]\nPreferred Viewing Date: [viewing-date]\nProperty Type: [property-type]\nPreferred Contact Method: [contact-method]\nAdditional Services: [additional-services]',
     1732                'additional_headers' => 'Reply-To: [your-email]',
     1733                'attachments' => '[supporting-documents]',
     1734                'use_html' => false
     1735            ]
     1736        ],
     1737        [
     1738            'id' => 'home_valuation_request',
     1739            'name' => __('Home Valuation Request Form', 'formzard'),
     1740            'description' => __('A form to request a home valuation with various input types.', 'formzard'),
     1741            'form' => '<label> Your name
     1742[text* your-name] </label>
     1743
     1744<label> Your email
     1745[email* your-email] </label>
     1746
     1747<label> Property Type
     1748[select* property-type "Single Family Home" "Condo" "Townhouse" "Multi-Family"] </label>
     1749
     1750<label> Property Address
     1751[textarea* property-address] </label>
     1752
     1753<label> Upload Property Photos
     1754[file property-photos] </label>
     1755
     1756<label> Preferred Contact Method
     1757[radio* contact-method "Email" "Phone"] </label>
     1758
     1759<label> Preferred Valuation Date
     1760[date* valuation-date] </label>
     1761
     1762<label> Quiz: What is 6 + 2?
     1763[quiz* quiz-answer "8" "7" "9"] </label>
     1764
     1765<label> I agree to the terms and conditions
     1766[acceptance* terms] </label>
     1767
     1768[submit "Request Valuation"]',
     1769            'mail' => [
     1770                'active' => true,
     1771                'recipient' => '[_site_admin_email]',
     1772                'subject' => 'New home valuation request from [your-name]',
     1773                'sender' => '[_site_title] <' . $default_sender_email . '>',
     1774                'body' => 'You have a new home valuation request:\n\nName: [your-name]\nEmail: [your-email]\nProperty Type: [property-type]\nAddress: [property-address]\nPreferred Contact Method: [contact-method]\nPreferred Valuation Date: [valuation-date]\nQuiz Answer: [quiz-answer]',
     1775                'additional_headers' => 'Reply-To: [your-email]',
     1776                'attachments' => '[property-photos]',
     1777                'use_html' => false
     1778            ]
     1779        ],
     1780        [
     1781            'id' => 'tenant_screening',
     1782            'name' => __('Tenant Screening Form', 'formzard'),
     1783            'description' => __('A form for tenant screening with various input types.', 'formzard'),
     1784            'form' => '<label> Your name
     1785[text* your-name] </label>
     1786
     1787<label> Your email
     1788[email* your-email] </label>
     1789
     1790<label> Date of Birth
     1791[date* dob] </label>
     1792
     1793<label> Employment Status
     1794[radio* employment-status "Employed" "Self-Employed" "Unemployed" "Student"] </label>
     1795
     1796<label> Monthly Income
     1797[number* monthly-income] </label>
     1798
     1799<label> Do you have any pets?
     1800[radio* pets "Yes" "No"] </label>
     1801
     1802<label> Upload ID Proof
     1803[file* id-proof] </label>
     1804
     1805<label> Upload Proof of Income
     1806[file* income-proof] </label>
     1807
     1808<label> I agree to the terms and conditions
     1809[acceptance* terms] </label>
     1810
     1811<label> Quiz: What is 3 + 4?
     1812[quiz* quiz-answer "7" "6" "8"] </label>
     1813
     1814[submit "Submit Application"]',
     1815            'mail' => [
     1816                'active' => true,
     1817                'recipient' => '[_site_admin_email]',
     1818                'subject' => 'New tenant screening application from [your-name]',
     1819                'sender' => '[_site_title] <' . $default_sender_email . '>',
     1820                'body' => 'You have a new tenant screening application:\n\nName: [your-name]\nEmail: [your-email]\nDate of Birth: [dob]\nEmployment Status: [employment-status]\nMonthly Income: [monthly-income]\nPets: [pets]',
     1821                'additional_headers' => 'Reply-To: [your-email]',
     1822                'attachments' => '[id-proof],[income-proof]',
     1823                'use_html' => false
     1824            ]
     1825        ],
     1826        [
     1827            'id' => 'rsvp_form',
     1828            'name' => __('RSVP Form', 'formzard'),
     1829            'description' => __('A form to RSVP for an event with various input types.', 'formzard'),
     1830            'form' => '<label> Your name
     1831[text* your-name] </label>
     1832
     1833<label> Your email
     1834[email* your-email] </label>
     1835
     1836<label> Will you attend?
     1837[radio* will-attend "Yes" "No"] </label>
     1838
     1839<label> Number of Guests
     1840[number guests] </label>
     1841
     1842<label> Meal Preference
     1843[select meal-preference "Vegetarian" "Non-Vegetarian" "Vegan"] </label>
     1844
     1845<label> Upload Invitation
     1846[file invitation-file] </label>
     1847
     1848<label> Quiz: What is 2 + 2?
     1849[quiz* quiz-answer "4" "3" "5"] </label>
     1850
     1851<label> I agree to the terms and conditions
     1852[acceptance* terms] </label>
     1853
     1854[submit "RSVP"]',
     1855            'mail' => [
     1856                'active' => true,
     1857                'recipient' => '[_site_admin_email]',
     1858                'subject' => 'New RSVP from [your-name]',
     1859                'sender' => '[_site_title] <' . $default_sender_email . '>',
     1860                'body' => 'You have a new RSVP:\n\nName: [your-name]\nEmail: [your-email]\nWill Attend: [will-attend]\nNumber of Guests: [guests]\nMeal Preference: [meal-preference]',
     1861                'additional_headers' => 'Reply-To: [your-email]',
     1862                'attachments' => '[invitation-file]',
     1863                'use_html' => false
     1864            ]
    6051865        ]
    6061866    ];
  • formzard/trunk/readme.txt

    r3219181 r3223312  
    44Tags: contact form 7, templates, pre-designed templates, forms
    55Tested up to: 6.7
    6 Stable tag: 1.0.0
     6Stable tag: 1.1.0
    77License: GPLv2 or later
    88License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    6363== Changelog ==
    6464
     65= 1.1.0 =
     66* Added 40 new pre-designed templates (total: 50).
     67* Introduced a search box for easier template selection.
     68
    6569= 1.0.0 =
    6670* Initial release.
Note: See TracChangeset for help on using the changeset viewer.