Ajax error when submit forms

Created on 24 November 2022, over 2 years ago
Updated 27 November 2022, over 2 years ago

The form action changed when placed inside tabs and got an ajax error after submitting with wring values or empty required fields

[{"command":"settings","settings":{"pluralDelimiter":"\u0003","suppressDeprecationErrors":true,"ajaxPageState":{"libraries":"ace_editor\/mode.html,ace_editor\/primary,ace_editor\/theme.idle_fingers,bootstrap_barrio\/file,bootstrap_barrio\/form,bootstrap_barrio\/image-widget,ckeditor\/drupal.ckeditor,core\/drupal.autocomplete,core\/drupal.collapse,core\/drupal.states,core\/drupal.tabledrag,core\/drupal.tableresponsive,core\/drupal.vertical-tabs,core\/internal.jquery.form,editor\/drupal.editor.dialog,file\/drupal.file,filter\/drupal.filter,maxlength\/maxlength,media\/media_embed_ckeditor_theme,node\/drupal.node,node\/form,node_edit_protection\/node_edit_protection,snd\/snd-sumoselect","theme":"snd","theme_token":null},"ajaxTrustedUrl":{"\/quicktabs\/ajax\/ubmission_tabs\/4":true,"\/quicktabs\/ajax\/ubmission_tabs\/4?ajax_form=1":true,"\/quicktabs\/ajax\/ubmission_tabs\/4?element_parents=field_file\/widget\u0026ajax_form=1":true,"\/quicktabs\/ajax\/ubmission_tabs\/4?element_parents=field_external_image\/widget\/0\u0026ajax_form=1":true},"ckeditor":{"timestamp":"rluhfs"},"field_group":{"html_element":{"mode":"member","context":"form","settings":{"classes":"group-title","show_empty_fields":false,"id":"","element":"div","show_label":true,"label_element":"h4","label_element_classes":"mb-30 pb-10","attributes":"","effect":"none","speed":"fast","required_fields":false}}},"ajax":{"edit-field-links-add-more":{"callback":["Drupal\\link\\Plugin\\Field\\FieldWidget\\LinkWidget","addMoreAjax"],"wrapper":"field-links-add-more-wrapper","effect":"fade","event":"mousedown","keypress":true,"prevent":"click","url":"\/quicktabs\/ajax\/ubmission_tabs\/4?ajax_form=1","dialogType":"ajax","submit":{"_triggering_element_name":"field_links_add_more","_triggering_element_value":"Add another item"}},"edit-field-file-0-upload-button":{"callback":["Drupal\\file\\Element\\ManagedFile","uploadAjaxCallback"],"wrapper":"edit-field-file-

πŸ› Bug report
Status

Active

Version

3.0

Component

Code

Created by

πŸ‡―πŸ‡΄Jordan rahaf albawab Amman

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡΅πŸ‡ΉPortugal adaragao

    I'm having the same error.

    This is the error I got on the browser development tool:

    One or more documents in this page is in Quirks Mode, which will render the affected document(s) with quirks incompatible with the current HTML and CSS specifications.
    Quirks Mode exists mostly due to historical reasons. If this is not intentional, you can add or modify the DOCTYPE to be `` to render the page in No Quirks Mode.
    1 element
    Document in the DOM tree Mode URL
    document Quirks Mode https://***.com/quicktabs/ajax/moderador/0?title=&type=All&moderation_state=editorial
    Learn more: Document compatibility mode

  • πŸ‡΅πŸ‡ΉPortugal adaragao

    I manage a work around, by disabling the Ajax option on this modules, and going to the Views > Block and activate the Ajax option there.

  • πŸ‡ΊπŸ‡ΈUnited States smustgrave
  • Status changed to Postponed: needs info about 7 hours ago
  • πŸ‡ΊπŸ‡ΈUnited States smustgrave
Production build 0.71.5 2024