### Alternative Font Implementation Example Source: https://www.123formbuilder.com/docs/how-to-change-font-for-the-thank-you-page This is an example of a user attempting to implement a different font. It demonstrates the syntax for importing and applying Google Fonts like 'Poppins'. ```css @import url(//fonts.googleapis.com/css?family=Poppins); body { font-family: ‘Poppins’, sans-serif!important; } #id123-thankyou { font-family: ‘Poppins’!important; } ``` -------------------------------- ### Install 123FormBuilder cPanel Plugin Source: https://www.123formbuilder.com/docs/cpanel Commands to install the 123FormBuilder plugin on a cPanel server. Requires root credentials. ```bash cd/usr/local/cpanel/bin/ ``` ```bash wget https://www.123formbuilder.com/download/123form-builder.cpanelplugin ``` ```bash run:/usr/local/cpanel/bin/register_cpanelplugin 123form-builder.cpanelplugin 123form-builder.cpanelplugin ``` -------------------------------- ### Example POST Webhook URL Source: https://www.123formbuilder.com/docs/123formbuilder-api-post-webhook This is an example of the URL structure for the POST Webhook API. Ensure you replace placeholders like [FORM ID], [API KEY], and [YOUR URL] with your actual values. ```plaintext https://app.123formbuilder.com/api/forms/[FORM ID]/webhooks.xml?apiKey=[API KEY]&webhookUrl=[YOUR URL] ``` -------------------------------- ### Example Redirect URL with Reference ID Source: https://www.123formbuilder.com/docs/how-to-pass-the-reference-id-to-the-redirect-url This is an example of how to structure the redirect URL to include the submission's Reference ID. Replace 'yoursite.com/file.php' with your actual page and 'yourrefid' with your desired variable name. ```url https://www.yoursite.com/file.php?yourrefid=requestRefID ``` -------------------------------- ### Example: Storing Form Data in Contacts Table Source: https://www.123formbuilder.com/docs/how-to-connect-forms-with-your-own-database This example demonstrates how form submissions can be directed to store data within the 'contacts' table. It assumes the 'code' column is set as unique to prevent duplicate entries. ```sql INSERT INTO contacts SET name=:name, email=:email, phone=:phone ``` -------------------------------- ### PHP cURL Request Example for External API Integration Source: https://www.123formbuilder.com/docs/123formbuilder-api-post-webhook This PHP script demonstrates how to make a cURL request to pass form data to an external API. This is a guide for integrating with external services, as mentioned in the context of passing user input data. ```php 'value1', 'field2' => 'value2', // Add more fields as needed ]; // Initialize cURL session $ch = curl_init($webhookUrl); // Set cURL options curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data)); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_HTTPHEADER, [ 'Content-Type: application/json', 'Content-Length: ' . strlen(json_encode($data)) ]); // Execute cURL request $response = curl_exec($ch); // Check for errors if (curl_errno($ch)) { echo 'cURL Error:' . curl_error($ch); } // Close cURL session curl_close($ch); // Process the response from the external API // echo 'Response:' . $response; ?> ``` -------------------------------- ### Example Email Sending with Webhook Data Source: https://www.123formbuilder.com/docs/webhooks This PHP snippet demonstrates how to send an email, potentially with data received via a webhook. It includes setting the 'From' and 'Return-path' headers. ```php // Now lets send an email $from=”From: support@123formbuilder.comrnReturn-path: support@123formbuilder.com“; mail(“support@123formbuilder.com”, ‘WebHooks Example’, $emailtxt, $from); ``` -------------------------------- ### 123FormBuilder Domain Example Source: https://www.123formbuilder.com/docs/how-to-pass-the-reference-id-to-the-redirect-url An example using the 123FormBuilder domain for the redirect URL, demonstrating the use of 'OrderNumber' as the variable for the Reference ID. ```url https://www.123formbuilder.com/file.php?OrderNumber=requestRefID ``` -------------------------------- ### Basic Redirect URL Structure Source: https://www.123formbuilder.com/docs/how-to-pass-the-reference-id-to-the-redirect-url A general example of how to construct a redirect URL, including a query parameter for the Reference ID. This format can be used after your webpage URL. ```url https://www.123formbuilder.com/pricing?OrderNumber=requestRefID ```