Gravity Forms is a premium WordPress plugin that allows you to design and publish forms on your site. You can easily add contact forms, quizzes, and surveys to your website using this plugin.
'Down Time Alert' is our own website monitoring service that watches your website 24/7/365 and notifies you whenever your website goes down.
Downtime Alert IntegrationsLooking for the Downtime Alert Alternatives? Here is the list of top Downtime Alert Alternatives
Downtime Alert + Gravity Forms
New Entry in Gravity Forms when Website Down is added to Downtime Alert Read More...Downtime Alert + Gravity Forms
Submit Form in Gravity Forms when Website Down is added to Downtime Alert Read More...Gravity Forms + Google Sheets
Add rows in Google sheets on new submissions in Gravity Forms Read More...Gravity Forms + Microsoft Excel
Create rows on Excel on new Gravity Forms submissions Read More...It's easy to connect Gravity Forms + Downtime Alert without coding knowledge. Start creating your own business flow.
Triggers when a new specified form is submitted.
Trigger whenever your website is down.
Creates a new form entry.
Creates an entry and fires all events associated with a form submission such as notifications and add-on feeds.
(30 seconds)
(10 seconds)
(30 seconds)
(10 seconds)
(2 minutes)
Gravity Forms is a premium WordPress form builder plugin that provides users with an easy way to build forms for their site. Gravity Forms is one of the most popular WordPress plugins on the market, ranking #1 in popularity on the WordPress Plugin Directory in the Forms category.
Gravity's tagline is "Build forms in a beautiful and responsive way," and it lives up to that claim. It comes with a range of built-in field types, including Google Maps, image uploads, datepickers, file uploads, and many more. In addition, users can add custom fields to do things like add custom CSS or JavaScript to a form.
Gravity Forms also has a number of add-ons available through its plugin directory page. Users can add features such as conditional logic, barcode generation, automated emails based on user inputted information, and many more additions that take it well beyond a basic form plugin.
Downtime Alert is a plugin that monitors your website for downtime using Pingdom. When it detects a downtime event, it sends notifications via Slack, E-Mail, SMS or Twitter. In addition, it can send alerts if it detects slow response times from your website. It also includes a list of alternate sites users can visit during any downtime events.
Integrating Gravity Forms and Downtime Alert will allow you to get warnings about possible downtime events and slow response times from your website. This will give you extra time to fix any problems before your website goes down or slows to an unusable speed.
To integrate the two plugins, we'll need to add code into both plugins' functions.php files. Let's start with Gravity Forms:
We need to add this code at the very top of Gravity Forms' functions.php file:
function add_downtime_alert_extension($fields. { $fields['downtimeAlert'] = [ 'label' => __('Downtime Alert'), 'description' => __('Notify me if my site is down.'), 'type' => 'checkbox', 'default' => true, 'required' => false, ]; return $fields; } add_filter('gform_fields_to_save', 'add_downtime_alert_extension'); 1 2 3 4 5 6 7 8 9 10 11 12 13 function add_downtime_alert_extension ( $ fields . { $ fields [ 'downtimeAlert' ] = [ 'label' = > __ ( 'Downtime Alert' . , 'description' = > __ ( 'Notify me if my site is down.' . , 'type' = > 'checkbox' , 'default' = > true , 'required' = > false , ] ; return $ fields ; } add_filter ( 'gform_fields_to_save' , 'add_downtime_alert_extension' . ;
If you have any custom CSS or JavaScript that you want added when the extension is added, you can add that here under "settings" in the array. For example, if you wanted to add custom CSS that changes the background cpor when the checkbox was checked, you could add something like this here:
'displaySettings'. [ 'className' => 'downtimeAlertFormFieldClass', ], 1 2 3 'displaySettings' . [ 'className' = > 'downtimeAlertFormFieldClass' , ] ,
Next, we need to add this code into the form's save function in the plugin's backend editor screen:
if(!empty($form->getField('downtimeAlert')->getValue(). && !$form->getField('downtimeAlert')->isInvalid(). { $form->addError(__('You must turn on Downtime Alert to use this form.')); } 1 2 3 4 if ( ! empty ( $ form -> getField ( 'downtimeAlert' . -> getValue ( . . && ! $ form -> getField ( 'downtimeAlert' . -> isInvalid ( . . { $ form -> addError ( __ ( 'You must turn on Downtime Alert to use this form.' . . ; }
This code checks if the checkbox for Downtime Alert is checked and makes sure it isn't checked when the form is processed by Gravity Forms. If it is checked, it adds an error message telling users they must turn on Downtime Alert to use this form. If it's not checked, however, it allows the form to be submitted without any errors showing up. After adding these two pieces of code, your integration should look like this:
The process to integrate 403 Forbidden and 403 Forbidden may seem complicated and intimidating. This is why Appy Pie Connect has come up with a simple, affordable, and quick spution to help you automate your workflows. Click on the button below to begin.