SOLVED: Form (component) within section (component) fails with generic error

I have a form which I’ve made into a component, so that any changes will permeate to every instance of the form throughout the site.

If I add this component as a child of another element, and that element is converted to a component, the form (component) is a nested component within another component. In this case the form does not work—it always gives the error “An error occurred, please try again later.” when submitted.

The same form (component) within a non-component element works fine.

This page illustrates the issue. There are 3 sections on the page:

  1. A section that is a component which includes the form component within.
  2. A section that separates the other two sections and helps identify which is which.
  3. A section that is NOT a component which includes the form component within.

Submitting the first form always fails.
Submitting the second form always succeeds.

Hi @ainom,

Thanks for the replication steps, but I was unable to replicate it locally. I must have a different setup or some small details, that make my component work and yours not.

Can you copy-paste that page content, so I can test locally with your exact settings and components?

Thank you,
Matej

OK, here are the 3 sections, copied and pasted below as requested. I’m not sure if these will work outside of my site’s context (there are various custom fields in related posts referenced), so you may just want to an admin login—let me know. I’ve included the various PHP functions called by the form.

{“content”:[{“id”:“7f724b”,“name”:“section”,“parent”:0,“children”:,“settings”:{},“cid”:“mvszwx”}],“source”:“bricksCopiedElements”,“sourceUrl”:“https://intellitec.online”,“version”:“2.3.9”,“components”:[{“id”:“mvszwx”,“category”:“”,“desc”:“”,“elements”:[{“id”:“mvszwx”,“name”:“section”,“parent”:0,“children”:[“onhgtx”,“lnzwbd”],“settings”:{“_position”:“relative”,“_padding:mobile_portrait”:{“top”:“0”,“right”:“0”,“bottom”:“0”,“left”:“0”},“_cssGlobalClasses”:[“fupaeh”]},“label”:“Get Program Details”},{“id”:“onhgtx”,“name”:“image”,“parent”:“mvszwx”,“children”:,“settings”:{“tag”:“figure”,“caption”:“none”,“_cssGlobalClasses”:[“dgjxqg”],“image”:{“id”:1122,“filename”:“imgi_28_bg2.webp”,“size”:“full”,“full”:“https://intellitec.online/wp-content/uploads/imgi_28_bg2.webp",“url”:“https://intellitec.online/wp-content/uploads/imgi_28_bg2.webp”},“_objectFit”:“cover”,“_position”:“fixed”,“_zIndex”:“-1”},“label”:"Image background”,“themeStyles”:},{“id”:“lnzwbd”,“name”:“container”,“parent”:“mvszwx”,“children”:[“aufmvp”],“settings”:{“_alignItems”:“flex-start”,“_padding”:{“left”:“10%”},“_padding:tablet_portrait”:{“left”:“0”},“_alignItems:mobile_landscape”:“center”}},{“id”:“aufmvp”,“name”:“block”,“parent”:“lnzwbd”,“children”:[“zqlhds”,“vypcny”],“settings”:{“_width”:“auto”,“_cssGlobalClasses”:[“nxqzop”],“_background”:{“color”:{“light”:“#f5f5f5”,“raw”:“var(–bricks-color-grey-100)”,“id”:“9d499f”}},“_widthMax”:“600”},“label”:“Form wrapper”},{“id”:“vypcny”,“name”:“form”,“parent”:“aufmvp”,“children”:,“settings”:{“fields”:[{“type”:“text”,“label”:“Name”,“placeholder”:“Your Name”,“id”:“094a80”},{“type”:“email”,“label”:“Email”,“placeholder”:“Your Email”,“required”:true,“id”:“34c199”},{“type”:“textarea”,“label”:“Message”,“placeholder”:“Your Message”,“required”:true,“id”:“3c10f5”}],“submitButtonStyle”:“primary”,“actions”:[“email”],“successMessage”:“Message successfully sent. We will get back to you as soon as possible.”,“emailSubject”:“Contact form request”,“emailTo”:“admin_email”,“fromName”:“Intellitec”,“emailErrorMessage”:“Submission failed. Please reload the page and try to submit the form again.”,“htmlEmail”:true,“mailchimpPendingMessage”:“Please check your email to confirm your subscription.”,“mailchimpErrorMessage”:“Sorry, but we could not subscribe you.”,“sendgridErrorMessage”:“Sorry, but we could not subscribe you.”},“cid”:“hoiimk”},{“id”:“zqlhds”,“name”:“heading”,“parent”:“aufmvp”,“children”:,“settings”:{“text”:“Get the Details”,“style”:“primary”},“label”:“Get the Details”}],“properties”:,“_created”:1775875064,“_user_id”:1,“_version”:“2.3.2”},{“id”:“hoiimk”,“category”:“”,“desc”:“”,“elements”:[{“id”:“hoiimk”,“name”:“form”,“parent”:0,“children”:,“settings”:{“fields”:[{“type”:“checkbox”,“id”:“pqmsln”,“options”:“Career prospects\nFunding options\nTuition costs\nStart dates”,“label”:“I’m interested in:”,“name”:“mx_Field_of_Choice”,“required”:true},{“type”:“select”,“label”:“Location near you”,“id”:“fubcgk”,“options”:“All”,“placeholder”:“Select”,“name”:“mx_Campus_of_Choice”,“required”:true},{“type”:“select”,“label”:“Program of interest”,“id”:“dlaune”,“placeholder”:“Select”,“options”:“All”,“name”:“mx_Field_of_Choice”,“required”:true},{“type”:“text”,“label”:“First Name”,“id”:“c05758”,“required”:true,“placeholder”:“Brandon”,“name”:“firstname”,“autocomplete”:“given-name”},{“type”:“text”,“label”:“Middle Name”,“id”:“uvbyht”,“placeholder”:“Bob”,“required”:true,“name”:“middlename”,“autocomplete”:“family-name”,“isHoneypot”:true},{“type”:“text”,“label”:“Last Name”,“id”:“dufdxy”,“placeholder”:“Walker”,“required”:true,“name”:“lastname”,“autocomplete”:“family-name”},{“type":“email”,“label”:“Email”,“placeholder”:"brandonwalker@gmail.com”,“required”:true,“id”:“8611f3”,“name”:“email”,“autocomplete”:“email”},{“type”:“tel”,“label”:“Phone”,“placeholder”:“555-123-4567”,“id”:“ezkubu”,“required”:true,“autocomplete”:“tel”,“name”:“phone”},{“type”:“radio”,“label”:“Have you earned your high school diploma or GED?”,“id”:“wgdtku”,“options”:“No:Yes\nYes:No”,“name”:“hs_input”,“valueLabelOptions”:true,“required”:true},{“type”:“checkbox”,“id”:“keaaji”,“options”:“I understand and agree”,“label”:“I agree to receive communications from {acf_linked_brand} via email, phone, and text message (including automated technology) regarding programs and services. I understand consent is not required to purchase.”,“required”:true,“name”:“mx_Consent_given”,“errorMessage”:“You must click "I understand and agree"”},{“type”:“hidden”,“label”:“mx_Device_Type “,“id”:“zslzmj”,“name”:“mx_Device_Type”,“value”:”{echo:get_device_info_string}”},{“type”:“hidden”,“label”:“mx_Source_IP”,“id”:“ypitiq”,“name”:“mx_Source_IP”,“value”:“{echo:get_ip_address}”},{“type”:“hidden”,“label”:“mx_Converter”,“id”:“dwhfjt”,“name”:“mx_Converter”,“value”:“{acf_linked_brand:plain}”},{“type”:“hidden”,“label”:“mx_School_Name”,“id”:“ybmiqc”,“name”:“mx_School_Name”,“value”:“{acf_linked_brand:plain}”},{“type”:“hidden”,“label”:“gclid”,“id”:“qakhzq”,“value”:“{echo:get_url_param(‘gclid’)}”,“name”:“gclid”},{“type”:“hidden”,“label”:“mx_New_Source”,“id”:“zttwub”,“value”:“{echo:get_url_param(‘mx_New_Source’,‘PPC’)}”,“name”:“mx_New_Source”},{“type”:“hidden”,“label”:“mx_New_Sub_Source”,“id”:“rrxbvp”,“value”:“{echo:get_url_param(‘mx_New_Sub_Source’,‘Google Adwords’)}”,“name”:“mx_New_Sub_Source”},{“type”:“hidden”,“label”:“Address”,“id”:“mmehrr”,“name”:“mx_Bot_Check”},{“type”:“hidden”,“label”:“mx_Consent_version”,“id”:“zabamr”,“name”:“mx_Consent_version”,“value”:“TCPA_lp_v1_2026-05”},{“type”:“hidden”,“label”:“ntwk”,“id”:“tpcvne”,“value”:“{echo:get_url_param(‘ntwk’)}”,“name”:“ntwk”},{“type”:“hidden”,“label”:“kw”,“id”:“fhumeh”,“value”:“{echo:get_url_param(‘kw’)}”,“name”:“kw”},{“type”:“hidden”,“label”:“utm_campaign”,“id”:“rfshfo”,“value”:“{echo:get_url_param(‘utm_campaign’)}”,“name”:“utm_campaign”},{“type”:“hidden”,“label”:“utm_content”,“id”:“vradep”,“value”:“{echo:get_url_param(‘utm_content’)}”,“name”:“utm_content”},{“type”:“hidden”,“label”:“utm_id”,“id”:“ctfzkx”,“value”:“{echo:get_url_param(‘utm_id’)}”,“name”:“utm_id”},{“type”:“hidden”,“label”:“utm_source”,“id”:“vilufp”,“value”:“{echo:get_url_param(‘utm_source’)}”,“name”:“utm_source”},{“type”:“hidden”,“label”:“utm_term”,“id”:“jygqyn”,“value”:“{echo:get_url_param(‘utm_term’)}”,“name”:“utm_term”},{“type”:“hidden”,“label”:“utm_medium”,“id”:“tzdxuj”,“value”:“{echo:get_url_param(‘utm_medium’)}”,“name”:“utm_medium”},{“type”:“hidden”,“label”:“cpgn”,“id”:“gdgzat”,“value”:“{echo:get_url_param(‘cpgn’)}”,“name”:“cpgn”},{“type”:“hidden”,“label”:“crtv”,“id”:“dnogcm”,“value”:“{echo:get_url_param(‘crtv’)}”,“name”:“crtv”},{“type”:“hidden”,“label”:“adg”,“id”:“pxvuud”,“value”:“{echo:get_url_param(‘adg’)}”,“name”:“adg”},{“type”:“hidden”,“label”:“gbraid”,“id”:“aqpmni”,“value”:“{echo:get_url_param(‘gbraid’)}”,“name”:“gbraid”},{“type”:“hidden”,“label”:“wbraid”,“id”:“tvzpqf”,“value”:“{echo:get_url_param(‘wbraid’)}”,“name”:“wbraid”},{“type”:“hidden”,“label”:“lead_src”,“id”:“rykffm”,“value”:“{echo:get_url_param(‘lead_src’)}”,“name”:“lead_src”},{“type”:“hidden”,“label”:“plm”,“id”:“owschs”,“value”:“{echo:get_url_param(‘plm’)}”,“name”:“plm”},{“type”:“hidden”,“label”:“fbclid”,“id”:“jzdwud”,“value”:“{echo:get_url_param(‘fbclid’)}”,“name”:“fbclid”},{“type”:“hidden”,“label”:“msclkid”,“id”:“iiwimo”,“value”:“{echo:get_url_param(‘msclkid’)}”,“name”:“msclkid”},{“type”:“hidden”,“label”:“ttclid”,“id”:“oocrud”,“value”:“{echo:get_url_param(‘ttclid’)}”,“name”:“ttclid”},{“type”:“hidden”,“label”:“loc_phyiscal_ms”,“id”:“xgsqko”,“value”:“{echo:get_url_param(‘loc_phyiscal_ms’)}”,“name”:“loc_phyiscal_ms”},{“type”:“hidden”,“label”:“mx_Referring_Website”,“id”:“uvbmdx”,“value”:“{echo:get_current_url}”,“name”:“mx_Referring_Website”},{“type”:“hidden”,“label”:“brand_inquiry”,“placeholder”:“Your Name”,“id”:“ecfunf”,“value”:“brand_inquiry”}],“submitButtonStyle”:“primary”,“emailSubject”:“Contact form request”,“emailTo”:“admin_email”,“fromName”:“Intellitec”,“emailErrorMessage”:“Submission failed. Please reload the page and try to submit the form again.”,“htmlEmail”:true,“mailchimpPendingMessage”:“Please check your email to confirm your subscription.”,“mailchimpErrorMessage”:“Sorry, but we could not subscribe you.”,“sendgridErrorMessage”:“Sorry, but we could not subscribe you.”,“showLabels”:true,“requiredAsterisk”:true,“submitButtonSize”:“md”,“submitButtonText”:“Get Program Details Now!”,“submitButtonMargin”:{“top”:“2rem”},“disableBrowserValidation”:true,“validateAllFieldsOnSubmit”:true,“noticeCloseButton”:true,“noticeCloseAfter”:“5000”,“actions”:[“custom”,“save-submission”],“labelTypography”:{“text-transform”:“none”},“successMessage”:“Sending message…”,“submissionFormName”:“Lead gen form”,“disableRequiredAsteriskInPlaceholder”:true},“themeStyles”:{“labelTypography”:{“color”:{“raw”:“var(–color-primary)”}},“fieldTypography”:{“font-size”:“var(–text-m)”},“fieldBorder”:{“width”:{“top”:“0”,“right”:“0”,“left”:“0”,“bottom”:“2”}},“fieldBorder:focus”:{“color”:{“raw”:“var(–color-primary)”}},“fieldBorder:hover”:{“color”:{“raw”:“var(–color-primary)”}}},“label”:“Lead gen form”}],“properties”:,“_created”:1775763026,“_user_id”:1,“_version”:“2.3.1”}],“globalClasses”:[{“id”:“fupaeh”,“name”:“custom-background”,“settings”:{“_cssCustom”:“.brxe-section:not(.custom-background) {\n z-index: 1;\n position: relative;\n background: #fff; \n}”},“modified”:1778370178,“user_id”:1},{“id”:“dgjxqg”,“name”:“bkgrd-image”,“settings”:},{“id”:“nxqzop”,“name”:“pad–l”,“settings”:}]}

{“content”:[{“id”:“fvddvo”,“name”:“section”,“parent”:0,“children”:[“oofmkg”],“settings”:{}},{“id”:“oofmkg”,“name”:“container”,“parent”:“fvddvo”,“children”:[“drqhmn”],“settings”:},{“id”:“drqhmn”,“name”:“text”,“parent”:“oofmkg”,“children”:,“settings”:{“text”:“

ABOVE: Form (component) within section (component)

BELOW: Form (component) within section

”}}],“source”:“bricksCopiedElements”,“sourceUrl”:“https://intellitec.online”,“version”:“2.3.9”}

{“content”:[{“id”:“818f55”,“name”:“section”,“parent”:0,“children”:[“0269dd”,“085c77”],“settings”:{“_position”:“relative”,“_padding:mobile_portrait”:{“top”:“0”,“right”:“0”,“bottom”:“0”,“left”:“0”},“_cssGlobalClasses”:[“fupaeh”],“_hideElementBuilder”:false,“_hideElementFrontend”:false},“label”:“Get Program Details”},{“id”:“0269dd”,“name”:“image”,“parent”:“818f55”,“children”:,“settings”:{“tag”:“figure”,“caption”:“none”,“_cssGlobalClasses”:[“dgjxqg”],“image”:{“id”:1122,“filename”:“imgi_28_bg2.webp”,“size”:“full”,“full”:“https://intellitec.online/wp-content/uploads/imgi_28_bg2.webp",“url”:“https://intellitec.online/wp-content/uploads/imgi_28_bg2.webp”},“_objectFit”:“cover”,“_position”:“fixed”,“_zIndex”:“-1”},“label”:"Image background”},{“id”:“085c77”,“name”:“container”,“parent”:“818f55”,“children”:[“79071d”],“settings”:{“_alignItems”:“flex-start”,“_padding”:{“left”:“10%”},“_padding:tablet_portrait”:{“left”:“0”},“_alignItems:mobile_landscape”:“center”}},{“id”:“79071d”,“name”:“block”,“parent”:“085c77”,“children”:[“5dc318”,“913b6f”],“settings”:{“_width”:“auto”,“_cssGlobalClasses”:[“nxqzop”],“_background”:{“color”:{“light”:“#f5f5f5”,“raw”:“var(–bricks-color-grey-100)”,“id”:“9d499f”}},“_widthMax”:“600”},“label”:“Form wrapper”},{“id”:“5dc318”,“name”:“heading”,“parent”:“79071d”,“children”:,“settings”:{“text”:“Get the Details”,“style”:“primary”},“label”:“Get the Details”},{“id”:“913b6f”,“name”:“form”,“parent”:“79071d”,“children”:,“settings”:{“fields”:[{“type”:“text”,“label”:“Name”,“placeholder”:“Your Name”,“id”:“094a80”},{“type”:“email”,“label”:“Email”,“placeholder”:“Your Email”,“required”:true,“id”:“34c199”},{“type”:“textarea”,“label”:“Message”,“placeholder”:“Your Message”,“required”:true,“id”:“3c10f5”}],“submitButtonStyle”:“primary”,“actions”:[“email”],“successMessage”:“Message successfully sent. We will get back to you as soon as possible.”,“emailSubject”:“Contact form request”,“emailTo”:“admin_email”,“fromName”:“Intellitec”,“emailErrorMessage”:“Submission failed. Please reload the page and try to submit the form again.”,“htmlEmail”:true,“mailchimpPendingMessage”:“Please check your email to confirm your subscription.”,“mailchimpErrorMessage”:“Sorry, but we could not subscribe you.”,“sendgridErrorMessage”:“Sorry, but we could not subscribe you.”},“cid”:“hoiimk”}],“source”:“bricksCopiedElements”,“sourceUrl”:“https://intellitec.online”,“version”:“2.3.9”,“components”:[{“id”:“hoiimk”,“category”:“”,“desc”:“”,“elements”:[{“id”:“hoiimk”,“name”:“form”,“parent”:0,“children”:,“settings”:{“fields”:[{“type”:“checkbox”,“id”:“pqmsln”,“options”:“Career prospects\nFunding options\nTuition costs\nStart dates”,“label”:“I’m interested in:”,“name”:“mx_Field_of_Choice”,“required”:true},{“type”:“select”,“label”:“Location near you”,“id”:“fubcgk”,“options”:“All”,“placeholder”:“Select”,“name”:“mx_Campus_of_Choice”,“required”:true},{“type”:“select”,“label”:“Program of interest”,“id”:“dlaune”,“placeholder”:“Select”,“options”:“All”,“name”:“mx_Field_of_Choice”,“required”:true},{“type”:“text”,“label”:“First Name”,“id”:“c05758”,“required”:true,“placeholder”:“Brandon”,“name”:“firstname”,“autocomplete”:“given-name”},{“type”:“text”,“label”:“Middle Name”,“id”:“uvbyht”,“placeholder”:“Bob”,“required”:true,“name”:“middlename”,“autocomplete”:“family-name”,“isHoneypot”:true},{“type”:“text”,“label”:“Last Name”,“id”:“dufdxy”,“placeholder”:“Walker”,“required”:true,“name”:“lastname”,“autocomplete”:“family-name”},{“type":“email”,“label”:“Email”,“placeholder”:"brandonwalker@gmail.com”,“required”:true,“id”:“8611f3”,“name”:“email”,“autocomplete”:“email”},{“type”:“tel”,“label”:“Phone”,“placeholder”:“555-123-4567”,“id”:“ezkubu”,“required”:true,“autocomplete”:“tel”,“name”:“phone”},{“type”:“radio”,“label”:“Have you earned your high school diploma or GED?”,“id”:“wgdtku”,“options”:“No:Yes\nYes:No”,“name”:“hs_input”,“valueLabelOptions”:true,“required”:true},{“type”:“checkbox”,“id”:“keaaji”,“options”:“I understand and agree”,“label”:“I agree to receive communications from {acf_linked_brand} via email, phone, and text message (including automated technology) regarding programs and services. I understand consent is not required to purchase.”,“required”:true,“name”:“mx_Consent_given”,“errorMessage”:“You must click "I understand and agree"”},{“type”:“hidden”,“label”:“mx_Device_Type “,“id”:“zslzmj”,“name”:“mx_Device_Type”,“value”:”{echo:get_device_info_string}”},{“type”:“hidden”,“label”:“mx_Source_IP”,“id”:“ypitiq”,“name”:“mx_Source_IP”,“value”:“{echo:get_ip_address}”},{“type”:“hidden”,“label”:“mx_Converter”,“id”:“dwhfjt”,“name”:“mx_Converter”,“value”:“{acf_linked_brand:plain}”},{“type”:“hidden”,“label”:“mx_School_Name”,“id”:“ybmiqc”,“name”:“mx_School_Name”,“value”:“{acf_linked_brand:plain}”},{“type”:“hidden”,“label”:“gclid”,“id”:“qakhzq”,“value”:“{echo:get_url_param(‘gclid’)}”,“name”:“gclid”},{“type”:“hidden”,“label”:“mx_New_Source”,“id”:“zttwub”,“value”:“{echo:get_url_param(‘mx_New_Source’,‘PPC’)}”,“name”:“mx_New_Source”},{“type”:“hidden”,“label”:“mx_New_Sub_Source”,“id”:“rrxbvp”,“value”:“{echo:get_url_param(‘mx_New_Sub_Source’,‘Google Adwords’)}”,“name”:“mx_New_Sub_Source”},{“type”:“hidden”,“label”:“Address”,“id”:“mmehrr”,“name”:“mx_Bot_Check”},{“type”:“hidden”,“label”:“mx_Consent_version”,“id”:“zabamr”,“name”:“mx_Consent_version”,“value”:“TCPA_lp_v1_2026-05”},{“type”:“hidden”,“label”:“ntwk”,“id”:“tpcvne”,“value”:“{echo:get_url_param(‘ntwk’)}”,“name”:“ntwk”},{“type”:“hidden”,“label”:“kw”,“id”:“fhumeh”,“value”:“{echo:get_url_param(‘kw’)}”,“name”:“kw”},{“type”:“hidden”,“label”:“utm_campaign”,“id”:“rfshfo”,“value”:“{echo:get_url_param(‘utm_campaign’)}”,“name”:“utm_campaign”},{“type”:“hidden”,“label”:“utm_content”,“id”:“vradep”,“value”:“{echo:get_url_param(‘utm_content’)}”,“name”:“utm_content”},{“type”:“hidden”,“label”:“utm_id”,“id”:“ctfzkx”,“value”:“{echo:get_url_param(‘utm_id’)}”,“name”:“utm_id”},{“type”:“hidden”,“label”:“utm_source”,“id”:“vilufp”,“value”:“{echo:get_url_param(‘utm_source’)}”,“name”:“utm_source”},{“type”:“hidden”,“label”:“utm_term”,“id”:“jygqyn”,“value”:“{echo:get_url_param(‘utm_term’)}”,“name”:“utm_term”},{“type”:“hidden”,“label”:“utm_medium”,“id”:“tzdxuj”,“value”:“{echo:get_url_param(‘utm_medium’)}”,“name”:“utm_medium”},{“type”:“hidden”,“label”:“cpgn”,“id”:“gdgzat”,“value”:“{echo:get_url_param(‘cpgn’)}”,“name”:“cpgn”},{“type”:“hidden”,“label”:“crtv”,“id”:“dnogcm”,“value”:“{echo:get_url_param(‘crtv’)}”,“name”:“crtv”},{“type”:“hidden”,“label”:“adg”,“id”:“pxvuud”,“value”:“{echo:get_url_param(‘adg’)}”,“name”:“adg”},{“type”:“hidden”,“label”:“gbraid”,“id”:“aqpmni”,“value”:“{echo:get_url_param(‘gbraid’)}”,“name”:“gbraid”},{“type”:“hidden”,“label”:“wbraid”,“id”:“tvzpqf”,“value”:“{echo:get_url_param(‘wbraid’)}”,“name”:“wbraid”},{“type”:“hidden”,“label”:“lead_src”,“id”:“rykffm”,“value”:“{echo:get_url_param(‘lead_src’)}”,“name”:“lead_src”},{“type”:“hidden”,“label”:“plm”,“id”:“owschs”,“value”:“{echo:get_url_param(‘plm’)}”,“name”:“plm”},{“type”:“hidden”,“label”:“fbclid”,“id”:“jzdwud”,“value”:“{echo:get_url_param(‘fbclid’)}”,“name”:“fbclid”},{“type”:“hidden”,“label”:“msclkid”,“id”:“iiwimo”,“value”:“{echo:get_url_param(‘msclkid’)}”,“name”:“msclkid”},{“type”:“hidden”,“label”:“ttclid”,“id”:“oocrud”,“value”:“{echo:get_url_param(‘ttclid’)}”,“name”:“ttclid”},{“type”:“hidden”,“label”:“loc_phyiscal_ms”,“id”:“xgsqko”,“value”:“{echo:get_url_param(‘loc_phyiscal_ms’)}”,“name”:“loc_phyiscal_ms”},{“type”:“hidden”,“label”:“mx_Referring_Website”,“id”:“uvbmdx”,“value”:“{echo:get_current_url}”,“name”:“mx_Referring_Website”},{“type”:“hidden”,“label”:“brand_inquiry”,“placeholder”:“Your Name”,“id”:“ecfunf”,“value”:“brand_inquiry”}],“submitButtonStyle”:“primary”,“emailSubject”:“Contact form request”,“emailTo”:“admin_email”,“fromName”:“Intellitec”,“emailErrorMessage”:“Submission failed. Please reload the page and try to submit the form again.”,“htmlEmail”:true,“mailchimpPendingMessage”:“Please check your email to confirm your subscription.”,“mailchimpErrorMessage”:“Sorry, but we could not subscribe you.”,“sendgridErrorMessage”:“Sorry, but we could not subscribe you.”,“showLabels”:true,“requiredAsterisk”:true,“submitButtonSize”:“md”,“submitButtonText”:“Get Program Details Now!”,“submitButtonMargin”:{“top”:“2rem”},“disableBrowserValidation”:true,“validateAllFieldsOnSubmit”:true,“noticeCloseButton”:true,“noticeCloseAfter”:“5000”,“actions”:[“custom”,“save-submission”],“labelTypography”:{“text-transform”:“none”},“successMessage”:“Sending message…”,“submissionFormName”:“Lead gen form”,“disableRequiredAsteriskInPlaceholder”:true},“themeStyles”:{“labelTypography”:{“color”:{“raw”:“var(–color-primary)”}},“fieldTypography”:{“font-size”:“var(–text-m)”},“fieldBorder”:{“width”:{“top”:“0”,“right”:“0”,“left”:“0”,“bottom”:“2”}},“fieldBorder:focus”:{“color”:{“raw”:“var(–color-primary)”}},“fieldBorder:hover”:{“color”:{“raw”:“var(–color-primary)”}}},“label”:“Lead gen form”}],“properties”:,“_created”:1775763026,“_user_id”:1,“_version”:“2.3.1”}],“globalClasses”:[{“id”:“fupaeh”,“name”:“custom-background”,“settings”:{“_cssCustom”:“.brxe-section:not(.custom-background) {\n z-index: 1;\n position: relative;\n background: #fff; \n}”},“modified”:1778370178,“user_id”:1},{“id”:“dgjxqg”,“name”:“bkgrd-image”,“settings”:},{“id”:“nxqzop”,“name”:“pad–l”,“settings”:}]}

function get_device_type(): string {
$ua = $_SERVER[‘HTTP_USER_AGENT’] ?? ‘’;

if ( preg_match( '/tablet|ipad|playbook|silk|(android(?!.*mobile))/i', $ua ) ) {
    return 'tablet';
}
if ( preg_match( '/mobile|iphone|ipod|android|blackberry|opera mini|iemobile|wpdesktop/i', $ua ) ) {
    return 'mobile';
}

return 'desktop';

}

function get_device_info(): array {
$ua = $_SERVER[‘HTTP_USER_AGENT’] ?? ‘’;

$type = get_device_type();

$os = 'Unknown';
foreach ( [
    'Windows'   => '/windows/i',
    'macOS'     => '/macintosh|mac os x/i',
    'iOS'       => '/iphone|ipad|ipod/i',
    'Android'   => '/android/i',
    'Linux'     => '/linux/i',
    'Chrome OS' => '/cros/i',
] as $name => $pattern ) {
    if ( preg_match( $pattern, $ua ) ) { $os = $name; break; }
}

$browser = 'Unknown';
foreach ( [
    'Edge'    => '/edg(e|\/)/i',
    'Chrome'  => '/chrome/i',
    'Firefox' => '/firefox/i',
    'Safari'  => '/safari/i',
    'Opera'   => '/opr\//i',
    'IE'      => '/msie|trident/i',
] as $name => $pattern ) {
    if ( preg_match( $pattern, $ua ) ) { $browser = $name; break; }
}

return [
    'type'    => $type,
    'os'      => $os,
    'browser' => $browser,
];

}

/**

  • Returns device info as a JSON string.
  • Use this wherever you need a plain string (logs, meta fields, etc.)
    */
    function get_device_info_string(): string {
    return json_encode( get_device_info() );
    }

add_action( ‘wp_ajax_get_device_info’, ‘ajax_get_device_info’ );
add_action( ‘wp_ajax_nopriv_get_device_info’, ‘ajax_get_device_info’ );

function ajax_get_device_info(): void {
wp_send_json_success( get_device_info() );
}

add_action( ‘wp_enqueue_scripts’, function () {
wp_localize_script( ‘jquery’, ‘deviceDetect’, [
‘ajaxUrl’ => admin_url( ‘admin-ajax.php’ ),
] );
} );

function get_ip_address() {
if ( ! empty( $_SERVER[‘HTTP_CF_CONNECTING_IP’] ) ) {
return sanitize_text_field( $_SERVER[‘HTTP_CF_CONNECTING_IP’] );
}

if ( ! empty( $_SERVER['HTTP_X_FORWARDED_FOR'] ) ) {
    // May contain a comma-separated chain; the first IP is the originating client
    $ips = explode( ',', $_SERVER['HTTP_X_FORWARDED_FOR'] );
    return sanitize_text_field( trim( $ips[0] ) );
}

return sanitize_text_field( $_SERVER['REMOTE_ADDR'] ?? '' );

}

function get_url_param( $parameter, $fallback = ‘’ ) {
if ( isset( $_GET[ $parameter ] ) ) {
return sanitize_text_field( wp_unslash( $_GET[ $parameter ] ) );
}
return sanitize_text_field( $fallback );
}

add_action(‘init’, function() {
if ( ! function_exists(‘get_current_url’) ) {
function get_current_url() {
$protocol = is_ssl() ? ‘https://’ : ‘http://’;
return $protocol . $_SERVER[‘HTTP_HOST’] . $_SERVER[‘REQUEST_URI’];
}
}
});

add_action( ‘bricks/form/custom_action’, function( $form ) {
$fields = $form->get_fields();

if ( ! in_array( 'brand_inquiry', $fields, true ) ) return;

$post_id = absint( $fields['postId'] ?? 0 );
if ( ! $post_id ) return;

$brand = get_field( 'linked_brand', $post_id );
if ( empty( $brand ) ) return;

$brand_post = is_array( $brand ) ? $brand[0] : $brand;
$brand_id   = $brand_post->ID;

// Schedule webhook asynchronously — doesn't block form response
$webhook_url = get_field( 'webhook_url', $brand_id );
if ( $webhook_url ) {
    wp_schedule_single_event( time(), 'fire_brand_webhook', [ $webhook_url, $fields ] );
}

$redirect = get_field( 'thank-you_page_url', $brand_id );
if ( $redirect ) {
    $form->set_result( [
        'type'       => 'redirect',
        'redirectTo' => esc_url_raw( $redirect ),
    ] );
}

}, 10, 1 );

add_action( ‘fire_brand_webhook’, function( $url, $fields ) {
wp_remote_post( $url, [
‘headers’ => [ ‘Content-Type’ => ‘application/json’ ],
‘body’ => wp_json_encode( $fields ),
‘blocking’ => false,
] );
}, 10, 2 );

Hey @ainom,

can you wrap the code in the code block? Just put triple backticks at the beginning and at the end of each code example, otherwise the code is messed up and not usable :slight_smile:

Like this:

```
Put your code here.
```

Thank you,
Matej

function get_device_type(): string {
$ua = $_SERVER[‘HTTP_USER_AGENT’] ?? ‘’;

if ( preg_match( '/tablet|ipad|playbook|silk|(android(?!.*mobile))/i', $ua ) ) {
    return 'tablet';
}
if ( preg_match( '/mobile|iphone|ipod|android|blackberry|opera mini|iemobile|wpdesktop/i', $ua ) ) {
    return 'mobile';
}

return 'desktop';
}

function get_device_info(): array {
$ua = $_SERVER[‘HTTP_USER_AGENT’] ?? ‘’;

$type = get_device_type();

$os = 'Unknown';
foreach ( [
    'Windows'   => '/windows/i',
    'macOS'     => '/macintosh|mac os x/i',
    'iOS'       => '/iphone|ipad|ipod/i',
    'Android'   => '/android/i',
    'Linux'     => '/linux/i',
    'Chrome OS' => '/cros/i',
] as $name => $pattern ) {
    if ( preg_match( $pattern, $ua ) ) { $os = $name; break; }
}

$browser = 'Unknown';
foreach ( [
    'Edge'    => '/edg(e|\/)/i',
    'Chrome'  => '/chrome/i',
    'Firefox' => '/firefox/i',
    'Safari'  => '/safari/i',
    'Opera'   => '/opr\//i',
    'IE'      => '/msie|trident/i',
] as $name => $pattern ) {
    if ( preg_match( $pattern, $ua ) ) { $browser = $name; break; }
}

return [
    'type'    => $type,
    'os'      => $os,
    'browser' => $browser,
];
}

/**

Returns device info as a JSON string.
Use this wherever you need a plain string (logs, meta fields, etc.)
*/
function get_device_info_string(): string {
return json_encode( get_device_info() );
}
add_action( ‘wp_ajax_get_device_info’, ‘ajax_get_device_info’ );
add_action( ‘wp_ajax_nopriv_get_device_info’, ‘ajax_get_device_info’ );

function ajax_get_device_info(): void {
wp_send_json_success( get_device_info() );
}

add_action( ‘wp_enqueue_scripts’, function () {
wp_localize_script( ‘jquery’, ‘deviceDetect’, [
‘ajaxUrl’ => admin_url( ‘admin-ajax.php’ ),
] );
} );

function get_ip_address() {
if ( ! empty( $_SERVER[‘HTTP_CF_CONNECTING_IP’] ) ) {
return sanitize_text_field( $_SERVER[‘HTTP_CF_CONNECTING_IP’] );
}

if ( ! empty( $_SERVER['HTTP_X_FORWARDED_FOR'] ) ) {
    // May contain a comma-separated chain; the first IP is the originating client
    $ips = explode( ',', $_SERVER['HTTP_X_FORWARDED_FOR'] );
    return sanitize_text_field( trim( $ips[0] ) );
}

return sanitize_text_field( $_SERVER['REMOTE_ADDR'] ?? '' );
}

function get_url_param( $parameter, $fallback = ‘’ ) {
if ( isset( $_GET[ $parameter ] ) ) {
return sanitize_text_field( wp_unslash( $_GET[ $parameter ] ) );
}
return sanitize_text_field( $fallback );
}

add_action(‘init’, function() {
if ( ! function_exists(‘get_current_url’) ) {
function get_current_url() {
$protocol = is_ssl() ? ‘https://’ : ‘http://’;
return $protocol . $_SERVER[‘HTTP_HOST’] . $_SERVER[‘REQUEST_URI’];
}
}
});

add_action( ‘bricks/form/custom_action’, function( $form ) {
$fields = $form->get_fields();

if ( ! in_array( 'brand_inquiry', $fields, true ) ) return;

$post_id = absint( $fields['postId'] ?? 0 );
if ( ! $post_id ) return;

$brand = get_field( 'linked_brand', $post_id );
if ( empty( $brand ) ) return;

$brand_post = is_array( $brand ) ? $brand[0] : $brand;
$brand_id   = $brand_post->ID;

// Schedule webhook asynchronously — doesn't block form response
$webhook_url = get_field( 'webhook_url', $brand_id );
if ( $webhook_url ) {
    wp_schedule_single_event( time(), 'fire_brand_webhook', [ $webhook_url, $fields ] );
}

$redirect = get_field( 'thank-you_page_url', $brand_id );
if ( $redirect ) {
    $form->set_result( [
        'type'       => 'redirect',
        'redirectTo' => esc_url_raw( $redirect ),
    ] );
}
}, 10, 1 );

add_action( ‘fire_brand_webhook’, function( $url, $fields ) {
wp_remote_post( $url, [
‘headers’ => [ ‘Content-Type’ => ‘application/json’ ],
‘body’ => wp_json_encode( $fields ),
‘blocking’ => false,
] );
}, 10, 2 );

Hey @ainom, thanks, the PHP is readable now, but I still need the Bricks copied element data in a format we can import reliably.

Please resend the copied Bricks elements for the three sections inside triple-backtick code blocks.

If the issue depends on site-specific ACF/custom PHP and cannot be reproduced from the copied data, please get in touch with us at help@bricksbuilder.io and include a link to this forum thread so we can track it.

Thank you,
Matej

{“content”:[{“id”:“7f724b”,“name”:“section”,“parent”:0,“children”:,“settings”:{},“cid”:“mvszwx”}],“source”:“bricksCopiedElements”,“sourceUrl”:“https://intellitec.online”,“version”:“2.3.9”,“components”:[{“id”:“mvszwx”,“category”:“”,“desc”:“”,“elements”:[{“id”:“mvszwx”,“name”:“section”,“parent”:0,“children”:[“onhgtx”,“lnzwbd”],“settings”:{“_position”:“relative”,“_padding:mobile_portrait”:{“top”:“0”,“right”:“0”,“bottom”:“0”,“left”:“0”},“_cssGlobalClasses”:[“fupaeh”]},“label”:“Get Program Details”},{“id”:“onhgtx”,“name”:“image”,“parent”:“mvszwx”,“children”:,“settings”:{“tag”:“figure”,“caption”:“none”,“_cssGlobalClasses”:[“dgjxqg”],“image”:{“id”:1122,“filename”:“imgi_28_bg2.webp”,“size”:“full”,“full”:“https://intellitec.online/wp-content/uploads/imgi_28_bg2.webp",“url”:“https://intellitec.online/wp-content/uploads/imgi_28_bg2.webp”},“_objectFit”:“cover”,“_position”:“fixed”,“_zIndex”:“-1”},“label”:"Image background”,“themeStyles”:},{“id”:“lnzwbd”,“name”:“container”,“parent”:“mvszwx”,“children”:[“aufmvp”],“settings”:{“_alignItems”:“flex-start”,“_padding”:{“left”:“10%”},“_padding:tablet_portrait”:{“left”:“0”},“_alignItems:mobile_landscape”:“center”}},{“id”:“aufmvp”,“name”:“block”,“parent”:“lnzwbd”,“children”:[“zqlhds”,“vypcny”],“settings”:{“_width”:“auto”,“_cssGlobalClasses”:[“nxqzop”],“_background”:{“color”:{“light”:“#f5f5f5”,“raw”:“var(–bricks-color-grey-100)”,“id”:“9d499f”}},“_widthMax”:“600”},“label”:“Form wrapper”},{“id”:“vypcny”,“name”:“form”,“parent”:“aufmvp”,“children”:,“settings”:{“fields”:[{“type”:“text”,“label”:“Name”,“placeholder”:“Your Name”,“id”:“094a80”},{“type”:“email”,“label”:“Email”,“placeholder”:“Your Email”,“required”:true,“id”:“34c199”},{“type”:“textarea”,“label”:“Message”,“placeholder”:“Your Message”,“required”:true,“id”:“3c10f5”}],“submitButtonStyle”:“primary”,“actions”:[“email”],“successMessage”:“Message successfully sent. We will get back to you as soon as possible.”,“emailSubject”:“Contact form request”,“emailTo”:“admin_email”,“fromName”:“Intellitec”,“emailErrorMessage”:“Submission failed. Please reload the page and try to submit the form again.”,“htmlEmail”:true,“mailchimpPendingMessage”:“Please check your email to confirm your subscription.”,“mailchimpErrorMessage”:“Sorry, but we could not subscribe you.”,“sendgridErrorMessage”:“Sorry, but we could not subscribe you.”},“cid”:“hoiimk”},{“id”:“zqlhds”,“name”:“heading”,“parent”:“aufmvp”,“children”:,“settings”:{“text”:“Get the Details”,“style”:“primary”},“label”:“Get the Details”}],“properties”:,“_created”:1775875064,“_user_id”:1,“_version”:“2.3.2”},{“id”:“hoiimk”,“category”:“”,“desc”:“”,“elements”:[{“id”:“hoiimk”,“name”:“form”,“parent”:0,“children”:,“settings”:{“fields”:[{“type”:“checkbox”,“id”:“pqmsln”,“options”:“Career prospects\nFunding options\nTuition costs\nStart dates”,“label”:“I’m interested in:”,“name”:“mx_Field_of_Choice”,“required”:true},{“type”:“select”,“label”:“Location near you”,“id”:“fubcgk”,“options”:“All”,“placeholder”:“Select”,“name”:“mx_Campus_of_Choice”,“required”:true},{“type”:“select”,“label”:“Program of interest”,“id”:“dlaune”,“placeholder”:“Select”,“options”:“All”,“name”:“mx_Field_of_Choice”,“required”:true},{“type”:“text”,“label”:“First Name”,“id”:“c05758”,“required”:true,“placeholder”:“Brandon”,“name”:“firstname”,“autocomplete”:“given-name”},{“type”:“text”,“label”:“Middle Name”,“id”:“uvbyht”,“placeholder”:“Bob”,“required”:true,“name”:“middlename”,“autocomplete”:“family-name”,“isHoneypot”:true},{“type”:“text”,“label”:“Last Name”,“id”:“dufdxy”,“placeholder”:“Walker”,“required”:true,“name”:“lastname”,“autocomplete”:“family-name”},{“type":“email”,“label”:“Email”,“placeholder”:"brandonwalker@gmail.com”,“required”:true,“id”:“8611f3”,“name”:“email”,“autocomplete”:“email”},{“type”:“tel”,“label”:“Phone”,“placeholder”:“555-123-4567”,“id”:“ezkubu”,“required”:true,“autocomplete”:“tel”,“name”:“phone”},{“type”:“radio”,“label”:“Have you earned your high school diploma or GED?”,“id”:“wgdtku”,“options”:“No:Yes\nYes:No”,“name”:“hs_input”,“valueLabelOptions”:true,“required”:true},{“type”:“checkbox”,“id”:“keaaji”,“options”:“I understand and agree”,“label”:“I agree to receive communications from {acf_linked_brand} via email, phone, and text message (including automated technology) regarding programs and services. I understand consent is not required to purchase.”,“required”:true,“name”:“mx_Consent_given”,“errorMessage”:“You must click "I understand and agree"”},{“type”:“hidden”,“label”:“mx_Device_Type “,“id”:“zslzmj”,“name”:“mx_Device_Type”,“value”:”{echo:get_device_info_string}”},{“type”:“hidden”,“label”:“mx_Source_IP”,“id”:“ypitiq”,“name”:“mx_Source_IP”,“value”:“{echo:get_ip_address}”},{“type”:“hidden”,“label”:“mx_Converter”,“id”:“dwhfjt”,“name”:“mx_Converter”,“value”:“{acf_linked_brand:plain}”},{“type”:“hidden”,“label”:“mx_School_Name”,“id”:“ybmiqc”,“name”:“mx_School_Name”,“value”:“{acf_linked_brand:plain}”},{“type”:“hidden”,“label”:“gclid”,“id”:“qakhzq”,“value”:“{echo:get_url_param(‘gclid’)}”,“name”:“gclid”},{“type”:“hidden”,“label”:“mx_New_Source”,“id”:“zttwub”,“value”:“{echo:get_url_param(‘mx_New_Source’,‘PPC’)}”,“name”:“mx_New_Source”},{“type”:“hidden”,“label”:“mx_New_Sub_Source”,“id”:“rrxbvp”,“value”:“{echo:get_url_param(‘mx_New_Sub_Source’,‘Google Adwords’)}”,“name”:“mx_New_Sub_Source”},{“type”:“hidden”,“label”:“Address”,“id”:“mmehrr”,“name”:“mx_Bot_Check”},{“type”:“hidden”,“label”:“mx_Consent_version”,“id”:“zabamr”,“name”:“mx_Consent_version”,“value”:“TCPA_lp_v1_2026-05”},{“type”:“hidden”,“label”:“ntwk”,“id”:“tpcvne”,“value”:“{echo:get_url_param(‘ntwk’)}”,“name”:“ntwk”},{“type”:“hidden”,“label”:“kw”,“id”:“fhumeh”,“value”:“{echo:get_url_param(‘kw’)}”,“name”:“kw”},{“type”:“hidden”,“label”:“utm_campaign”,“id”:“rfshfo”,“value”:“{echo:get_url_param(‘utm_campaign’)}”,“name”:“utm_campaign”},{“type”:“hidden”,“label”:“utm_content”,“id”:“vradep”,“value”:“{echo:get_url_param(‘utm_content’)}”,“name”:“utm_content”},{“type”:“hidden”,“label”:“utm_id”,“id”:“ctfzkx”,“value”:“{echo:get_url_param(‘utm_id’)}”,“name”:“utm_id”},{“type”:“hidden”,“label”:“utm_source”,“id”:“vilufp”,“value”:“{echo:get_url_param(‘utm_source’)}”,“name”:“utm_source”},{“type”:“hidden”,“label”:“utm_term”,“id”:“jygqyn”,“value”:“{echo:get_url_param(‘utm_term’)}”,“name”:“utm_term”},{“type”:“hidden”,“label”:“utm_medium”,“id”:“tzdxuj”,“value”:“{echo:get_url_param(‘utm_medium’)}”,“name”:“utm_medium”},{“type”:“hidden”,“label”:“cpgn”,“id”:“gdgzat”,“value”:“{echo:get_url_param(‘cpgn’)}”,“name”:“cpgn”},{“type”:“hidden”,“label”:“crtv”,“id”:“dnogcm”,“value”:“{echo:get_url_param(‘crtv’)}”,“name”:“crtv”},{“type”:“hidden”,“label”:“adg”,“id”:“pxvuud”,“value”:“{echo:get_url_param(‘adg’)}”,“name”:“adg”},{“type”:“hidden”,“label”:“gbraid”,“id”:“aqpmni”,“value”:“{echo:get_url_param(‘gbraid’)}”,“name”:“gbraid”},{“type”:“hidden”,“label”:“wbraid”,“id”:“tvzpqf”,“value”:“{echo:get_url_param(‘wbraid’)}”,“name”:“wbraid”},{“type”:“hidden”,“label”:“lead_src”,“id”:“rykffm”,“value”:“{echo:get_url_param(‘lead_src’)}”,“name”:“lead_src”},{“type”:“hidden”,“label”:“plm”,“id”:“owschs”,“value”:“{echo:get_url_param(‘plm’)}”,“name”:“plm”},{“type”:“hidden”,“label”:“fbclid”,“id”:“jzdwud”,“value”:“{echo:get_url_param(‘fbclid’)}”,“name”:“fbclid”},{“type”:“hidden”,“label”:“msclkid”,“id”:“iiwimo”,“value”:“{echo:get_url_param(‘msclkid’)}”,“name”:“msclkid”},{“type”:“hidden”,“label”:“ttclid”,“id”:“oocrud”,“value”:“{echo:get_url_param(‘ttclid’)}”,“name”:“ttclid”},{“type”:“hidden”,“label”:“loc_phyiscal_ms”,“id”:“xgsqko”,“value”:“{echo:get_url_param(‘loc_phyiscal_ms’)}”,“name”:“loc_phyiscal_ms”},{“type”:“hidden”,“label”:“mx_Referring_Website”,“id”:“uvbmdx”,“value”:“{echo:get_current_url}”,“name”:“mx_Referring_Website”},{“type”:“hidden”,“label”:“brand_inquiry”,“placeholder”:“Your Name”,“id”:“ecfunf”,“value”:“brand_inquiry”}],“submitButtonStyle”:“primary”,“emailSubject”:“Contact form request”,“emailTo”:“admin_email”,“fromName”:“Intellitec”,“emailErrorMessage”:“Submission failed. Please reload the page and try to submit the form again.”,“htmlEmail”:true,“mailchimpPendingMessage”:“Please check your email to confirm your subscription.”,“mailchimpErrorMessage”:“Sorry, but we could not subscribe you.”,“sendgridErrorMessage”:“Sorry, but we could not subscribe you.”,“showLabels”:true,“requiredAsterisk”:true,“submitButtonSize”:“md”,“submitButtonText”:“Get Program Details Now!”,“submitButtonMargin”:{“top”:“2rem”},“disableBrowserValidation”:true,“validateAllFieldsOnSubmit”:true,“noticeCloseButton”:true,“noticeCloseAfter”:“5000”,“actions”:[“custom”,“save-submission”],“labelTypography”:{“text-transform”:“none”},“successMessage”:“Sending message…”,“submissionFormName”:“Lead gen form”,“disableRequiredAsteriskInPlaceholder”:true},“themeStyles”:{“labelTypography”:{“color”:{“raw”:“var(–color-primary)”}},“fieldTypography”:{“font-size”:“var(–text-m)”},“fieldBorder”:{“width”:{“top”:“0”,“right”:“0”,“left”:“0”,“bottom”:“2”}},“fieldBorder:focus”:{“color”:{“raw”:“var(–color-primary)”}},“fieldBorder:hover”:{“color”:{“raw”:“var(–color-primary)”}}},“label”:“Lead gen form”}],“properties”:,“_created”:1775763026,“_user_id”:1,“_version”:“2.3.1”}],“globalClasses”:[{“id”:“fupaeh”,“name”:“custom-background”,“settings”:{“_cssCustom”:“.brxe-section:not(.custom-background) {\n z-index: 1;\n position: relative;\n background: #fff; \n}”},“modified”:1778370178,“user_id”:1},{“id”:“dgjxqg”,“name”:“bkgrd-image”,“settings”:},{“id”:“nxqzop”,“name”:“pad–l”,“settings”:}]}

{“content”:[{“id”:“fvddvo”,“name”:“section”,“parent”:0,“children”:[“oofmkg”],“settings”:{}},{“id”:“oofmkg”,“name”:“container”,“parent”:“fvddvo”,“children”:[“drqhmn”],“settings”:},{“id”:“drqhmn”,“name”:“text”,“parent”:“oofmkg”,“children”:,“settings”:{“text”:“

ABOVE: Form (component) within section (component)

BELOW: Form (component) within section

”}}],“source”:“bricksCopiedElements”,“sourceUrl”:“https://intellitec.online”,“version”:“2.3.9”}
{“content”:[{“id”:“818f55”,“name”:“section”,“parent”:0,“children”:[“0269dd”,“085c77”],“settings”:{“_position”:“relative”,“_padding:mobile_portrait”:{“top”:“0”,“right”:“0”,“bottom”:“0”,“left”:“0”},“_cssGlobalClasses”:[“fupaeh”],“_hideElementBuilder”:false,“_hideElementFrontend”:false},“label”:“Get Program Details”},{“id”:“0269dd”,“name”:“image”,“parent”:“818f55”,“children”:,“settings”:{“tag”:“figure”,“caption”:“none”,“_cssGlobalClasses”:[“dgjxqg”],“image”:{“id”:1122,“filename”:“imgi_28_bg2.webp”,“size”:“full”,“full”:“https://intellitec.online/wp-content/uploads/imgi_28_bg2.webp",“url”:“https://intellitec.online/wp-content/uploads/imgi_28_bg2.webp”},“_objectFit”:“cover”,“_position”:“fixed”,“_zIndex”:“-1”},“label”:"Image background”},{“id”:“085c77”,“name”:“container”,“parent”:“818f55”,“children”:[“79071d”],“settings”:{“_alignItems”:“flex-start”,“_padding”:{“left”:“10%”},“_padding:tablet_portrait”:{“left”:“0”},“_alignItems:mobile_landscape”:“center”}},{“id”:“79071d”,“name”:“block”,“parent”:“085c77”,“children”:[“5dc318”,“913b6f”],“settings”:{“_width”:“auto”,“_cssGlobalClasses”:[“nxqzop”],“_background”:{“color”:{“light”:“#f5f5f5”,“raw”:“var(–bricks-color-grey-100)”,“id”:“9d499f”}},“_widthMax”:“600”},“label”:“Form wrapper”},{“id”:“5dc318”,“name”:“heading”,“parent”:“79071d”,“children”:,“settings”:{“text”:“Get the Details”,“style”:“primary”},“label”:“Get the Details”},{“id”:“913b6f”,“name”:“form”,“parent”:“79071d”,“children”:,“settings”:{“fields”:[{“type”:“text”,“label”:“Name”,“placeholder”:“Your Name”,“id”:“094a80”},{“type”:“email”,“label”:“Email”,“placeholder”:“Your Email”,“required”:true,“id”:“34c199”},{“type”:“textarea”,“label”:“Message”,“placeholder”:“Your Message”,“required”:true,“id”:“3c10f5”}],“submitButtonStyle”:“primary”,“actions”:[“email”],“successMessage”:“Message successfully sent. We will get back to you as soon as possible.”,“emailSubject”:“Contact form request”,“emailTo”:“admin_email”,“fromName”:“Intellitec”,“emailErrorMessage”:“Submission failed. Please reload the page and try to submit the form again.”,“htmlEmail”:true,“mailchimpPendingMessage”:“Please check your email to confirm your subscription.”,“mailchimpErrorMessage”:“Sorry, but we could not subscribe you.”,“sendgridErrorMessage”:“Sorry, but we could not subscribe you.”},“cid”:“hoiimk”}],“source”:“bricksCopiedElements”,“sourceUrl”:“https://intellitec.online”,“version”:“2.3.9”,“components”:[{“id”:“hoiimk”,“category”:“”,“desc”:“”,“elements”:[{“id”:“hoiimk”,“name”:“form”,“parent”:0,“children”:,“settings”:{“fields”:[{“type”:“checkbox”,“id”:“pqmsln”,“options”:“Career prospects\nFunding options\nTuition costs\nStart dates”,“label”:“I’m interested in:”,“name”:“mx_Field_of_Choice”,“required”:true},{“type”:“select”,“label”:“Location near you”,“id”:“fubcgk”,“options”:“All”,“placeholder”:“Select”,“name”:“mx_Campus_of_Choice”,“required”:true},{“type”:“select”,“label”:“Program of interest”,“id”:“dlaune”,“placeholder”:“Select”,“options”:“All”,“name”:“mx_Field_of_Choice”,“required”:true},{“type”:“text”,“label”:“First Name”,“id”:“c05758”,“required”:true,“placeholder”:“Brandon”,“name”:“firstname”,“autocomplete”:“given-name”},{“type”:“text”,“label”:“Middle Name”,“id”:“uvbyht”,“placeholder”:“Bob”,“required”:true,“name”:“middlename”,“autocomplete”:“family-name”,“isHoneypot”:true},{“type”:“text”,“label”:“Last Name”,“id”:“dufdxy”,“placeholder”:“Walker”,“required”:true,“name”:“lastname”,“autocomplete”:“family-name”},{“type":“email”,“label”:“Email”,“placeholder”:"brandonwalker@gmail.com”,“required”:true,“id”:“8611f3”,“name”:“email”,“autocomplete”:“email”},{“type”:“tel”,“label”:“Phone”,“placeholder”:“555-123-4567”,“id”:“ezkubu”,“required”:true,“autocomplete”:“tel”,“name”:“phone”},{“type”:“radio”,“label”:“Have you earned your high school diploma or GED?”,“id”:“wgdtku”,“options”:“No:Yes\nYes:No”,“name”:“hs_input”,“valueLabelOptions”:true,“required”:true},{“type”:“checkbox”,“id”:“keaaji”,“options”:“I understand and agree”,“label”:“I agree to receive communications from {acf_linked_brand} via email, phone, and text message (including automated technology) regarding programs and services. I understand consent is not required to purchase.”,“required”:true,“name”:“mx_Consent_given”,“errorMessage”:“You must click "I understand and agree"”},{“type”:“hidden”,“label”:“mx_Device_Type “,“id”:“zslzmj”,“name”:“mx_Device_Type”,“value”:”{echo:get_device_info_string}”},{“type”:“hidden”,“label”:“mx_Source_IP”,“id”:“ypitiq”,“name”:“mx_Source_IP”,“value”:“{echo:get_ip_address}”},{“type”:“hidden”,“label”:“mx_Converter”,“id”:“dwhfjt”,“name”:“mx_Converter”,“value”:“{acf_linked_brand:plain}”},{“type”:“hidden”,“label”:“mx_School_Name”,“id”:“ybmiqc”,“name”:“mx_School_Name”,“value”:“{acf_linked_brand:plain}”},{“type”:“hidden”,“label”:“gclid”,“id”:“qakhzq”,“value”:“{echo:get_url_param(‘gclid’)}”,“name”:“gclid”},{“type”:“hidden”,“label”:“mx_New_Source”,“id”:“zttwub”,“value”:“{echo:get_url_param(‘mx_New_Source’,‘PPC’)}”,“name”:“mx_New_Source”},{“type”:“hidden”,“label”:“mx_New_Sub_Source”,“id”:“rrxbvp”,“value”:“{echo:get_url_param(‘mx_New_Sub_Source’,‘Google Adwords’)}”,“name”:“mx_New_Sub_Source”},{“type”:“hidden”,“label”:“Address”,“id”:“mmehrr”,“name”:“mx_Bot_Check”},{“type”:“hidden”,“label”:“mx_Consent_version”,“id”:“zabamr”,“name”:“mx_Consent_version”,“value”:“TCPA_lp_v1_2026-05”},{“type”:“hidden”,“label”:“ntwk”,“id”:“tpcvne”,“value”:“{echo:get_url_param(‘ntwk’)}”,“name”:“ntwk”},{“type”:“hidden”,“label”:“kw”,“id”:“fhumeh”,“value”:“{echo:get_url_param(‘kw’)}”,“name”:“kw”},{“type”:“hidden”,“label”:“utm_campaign”,“id”:“rfshfo”,“value”:“{echo:get_url_param(‘utm_campaign’)}”,“name”:“utm_campaign”},{“type”:“hidden”,“label”:“utm_content”,“id”:“vradep”,“value”:“{echo:get_url_param(‘utm_content’)}”,“name”:“utm_content”},{“type”:“hidden”,“label”:“utm_id”,“id”:“ctfzkx”,“value”:“{echo:get_url_param(‘utm_id’)}”,“name”:“utm_id”},{“type”:“hidden”,“label”:“utm_source”,“id”:“vilufp”,“value”:“{echo:get_url_param(‘utm_source’)}”,“name”:“utm_source”},{“type”:“hidden”,“label”:“utm_term”,“id”:“jygqyn”,“value”:“{echo:get_url_param(‘utm_term’)}”,“name”:“utm_term”},{“type”:“hidden”,“label”:“utm_medium”,“id”:“tzdxuj”,“value”:“{echo:get_url_param(‘utm_medium’)}”,“name”:“utm_medium”},{“type”:“hidden”,“label”:“cpgn”,“id”:“gdgzat”,“value”:“{echo:get_url_param(‘cpgn’)}”,“name”:“cpgn”},{“type”:“hidden”,“label”:“crtv”,“id”:“dnogcm”,“value”:“{echo:get_url_param(‘crtv’)}”,“name”:“crtv”},{“type”:“hidden”,“label”:“adg”,“id”:“pxvuud”,“value”:“{echo:get_url_param(‘adg’)}”,“name”:“adg”},{“type”:“hidden”,“label”:“gbraid”,“id”:“aqpmni”,“value”:“{echo:get_url_param(‘gbraid’)}”,“name”:“gbraid”},{“type”:“hidden”,“label”:“wbraid”,“id”:“tvzpqf”,“value”:“{echo:get_url_param(‘wbraid’)}”,“name”:“wbraid”},{“type”:“hidden”,“label”:“lead_src”,“id”:“rykffm”,“value”:“{echo:get_url_param(‘lead_src’)}”,“name”:“lead_src”},{“type”:“hidden”,“label”:“plm”,“id”:“owschs”,“value”:“{echo:get_url_param(‘plm’)}”,“name”:“plm”},{“type”:“hidden”,“label”:“fbclid”,“id”:“jzdwud”,“value”:“{echo:get_url_param(‘fbclid’)}”,“name”:“fbclid”},{“type”:“hidden”,“label”:“msclkid”,“id”:“iiwimo”,“value”:“{echo:get_url_param(‘msclkid’)}”,“name”:“msclkid”},{“type”:“hidden”,“label”:“ttclid”,“id”:“oocrud”,“value”:“{echo:get_url_param(‘ttclid’)}”,“name”:“ttclid”},{“type”:“hidden”,“label”:“loc_phyiscal_ms”,“id”:“xgsqko”,“value”:“{echo:get_url_param(‘loc_phyiscal_ms’)}”,“name”:“loc_phyiscal_ms”},{“type”:“hidden”,“label”:“mx_Referring_Website”,“id”:“uvbmdx”,“value”:“{echo:get_current_url}”,“name”:“mx_Referring_Website”},{“type”:“hidden”,“label”:“brand_inquiry”,“placeholder”:“Your Name”,“id”:“ecfunf”,“value”:“brand_inquiry”}],“submitButtonStyle”:“primary”,“emailSubject”:“Contact form request”,“emailTo”:“admin_email”,“fromName”:“Intellitec”,“emailErrorMessage”:“Submission failed. Please reload the page and try to submit the form again.”,“htmlEmail”:true,“mailchimpPendingMessage”:“Please check your email to confirm your subscription.”,“mailchimpErrorMessage”:“Sorry, but we could not subscribe you.”,“sendgridErrorMessage”:“Sorry, but we could not subscribe you.”,“showLabels”:true,“requiredAsterisk”:true,“submitButtonSize”:“md”,“submitButtonText”:“Get Program Details Now!”,“submitButtonMargin”:{“top”:“2rem”},“disableBrowserValidation”:true,“validateAllFieldsOnSubmit”:true,“noticeCloseButton”:true,“noticeCloseAfter”:“5000”,“actions”:[“custom”,“save-submission”],“labelTypography”:{“text-transform”:“none”},“successMessage”:“Sending message…”,“submissionFormName”:“Lead gen form”,“disableRequiredAsteriskInPlaceholder”:true},“themeStyles”:{“labelTypography”:{“color”:{“raw”:“var(–color-primary)”}},“fieldTypography”:{“font-size”:“var(–text-m)”},“fieldBorder”:{“width”:{“top”:“0”,“right”:“0”,“left”:“0”,“bottom”:“2”}},“fieldBorder:focus”:{“color”:{“raw”:“var(–color-primary)”}},“fieldBorder:hover”:{“color”:{“raw”:“var(–color-primary)”}}},“label”:“Lead gen form”}],“properties”:,“_created”:1775763026,“_user_id”:1,“_version”:“2.3.1”}],“globalClasses”:[{“id”:“fupaeh”,“name”:“custom-background”,“settings”:{“_cssCustom”:“.brxe-section:not(.custom-background) {\n z-index: 1;\n position: relative;\n background: #fff; \n}”},“modified”:1778370178,“user_id”:1},{“id”:“dgjxqg”,“name”:“bkgrd-image”,“settings”:},{“id”:“nxqzop”,“name”:“pad–l”,“settings”:}]}

Hi @ainom,

thank you for template and login. I replied to you over the email as well, but I was able to replicate this issue using your component, and I created the local bug report for that. Once we fix this issue, we will update this forum topic.

Thank you so much.
Matej

We’ve addressed this in Bricks 2.3.11, now available as a one-click update in your WordPress Dashboard.

Please read the changelog entry before updating, and let us know if you experience any issues.