- Creating and Publishing a Form
- Conversational Form
- Create Multi Step Forms In WordPress
- Using Calculations in SureForms: A Step-by-Step Guide
- Calculation Formula Guide
- SureForms Login Block – Step-by-Step Guide
- SureForms Registration Block – Step-by-Step Guide
- SureForms – PDF Generation Feature
- GDPR Compliant Forms
- Create WordPress Forms With Conditional Logic
- Adjust Form Notification Emails
- Form Confirmation
- Entries Management Feature Guide
- How to Add Query Parameters to Form Redirects
- How to Fetch Query Parameters from URL
- Set the “From Email” in SureForms
- Setting Up “Reply-To” Email Using Form Input Tags – SureForms
- Restrict Form Entries in SureForms
- Form Scheduling in SureForms
- Conditional Confirmations in SureForms
- How to Connect Your Stripe Account with SureForms
- How to Connect PayPal in SureForms
- How to Create a Payment Form in SureForms
- SureForms Payments
- How Refunds Work in SureForms Payments
- Understanding Payment Processing Fees
- How to Display the Payment Dashboard on the Frontend (SureForms)
- Enable One-Time Payment and Subscription in a Single Form
- SureForms Integration with ActiveCampaign
- SureForms Integration with AgileCRM
- SureForms Integration with Airtable
- SureForms Integration with LatePoint
- SureForms Integration with FluentCRM
- Connect SureForms To Zapier
- WordPress Forms with the Custom App Builder
- SureForms Integration with Telegram
- SureForms Integration with Breeze
- SureForms Integration with Brevo
- Unable to Upload SureForms ZIP: File Unzipped On Download
- Browser Support for SureForms
- Not Getting Update Notifications
- How To Rollback to Previous SureForms Versions
- Publishing Failed: Invalid JSON Response
- Troubleshooting Email Sending In SureForms
- SureForm Submissions Marked as Spam – How to Fix
- API Request Failed – Nonce Verification Error
- Fixing the “Destination folder already exists” Error When Installing SureForms
- How to Set Up SureForms with Caching Plugins
- srfm_enable_redirect_activation
- sureforms_plugin_action_links
- srfm_quick_sidebar_allowed_blocks
- srfm_integrated_plugins
- srfm_suretriggers_integration_data_filter
- srfm_form_submit_response
- srfm_enable_gutenberg_post_types
- srfm_languages_directory
- srfm_form_template
- srfm_disable_nps_survey
- srfm_after_submit_confirmation_message
- srfm_email_notification_should_send
- srfm_email_notification
- How to Remove the Asterisk (*) from Form Placeholders in SureForms
- srfm_form_submit_data
- srfm_before_fields_processing
- srfm_field_validation_data
- srfm_block_config
- srfm_form_submission_response
- srfm_update_prepared_submission_data
- srfm_form_confirmation_data
- srfm_form_confirmation_params
- srfm_confirmation_links_open_in_new_tab
- srfm_additional_restriction_check
- srfm_form_restriction_entries_count
- srfm_form_restriction_message
- srfm_after_submit_redirect_url
- srfm_is_form_restricted
- srfm_additional_restriction_message
- srfm_apply_form_theme_styling
- srfm_field_classes
- srfm_field_config
- srfm_field_options
- srfm_add_background_classes
- srfm_add_button_classes
- srfm_get_form_post_content
- srfm_parse_smart_tags
- srfm_is_valid_smart_tag
- srfm_visitor_ip
- srfm_geo_api_hourly_cap
- srfm_ipapi_api_key
- srfm_cdn_country
- srfm_global_settings_data
- srfm_submit_token_accepted_windows
- srfm_dynamic_validation_messages
- srfm_frontend_validation_messages
- srfm_payment_history_query_args
- srfm_normalize_csv_field_value
- srfm_webhook_submission_data
- srfm_pro_native_integration_pre_request
- srfm_datepicker_week_start
- srfm_conditional_logic_allowed_operators
- srfm_user_welcome_email_subject
- srfm_user_welcome_email_message
- srfm_pro_mpdf_config
srfm_form_submit_data
Description
Filters the raw form data at the start of submission processing, before fields are processed. Use it to normalize or augment the incoming submission payload.
Parameters
- $form_data (array) – The submitted form data.
Filter Source
PHP
/**
* filter source (Free) inc/form-submit.php
*/
$form_data = apply_filters( 'srfm_form_submit_data', $form_data );Filter Usage
PHP
add_filter( 'srfm_form_submit_data', 'my_callback', 10, 1 );
function my_callback( $form_data ) {
return $form_data;
}Filter Example
PHP
add_filter( 'srfm_form_submit_data', 'my_callback', 10, 1 );
function my_callback( $form_data ) {
return $form_data;
}Was this doc helpful?
What went wrong?
We don't respond to the article feedback, we use it to improve our support content.
Table of Contents