Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
1 vote
0 answers
66 views

Under Drupal 11.2.5. I installed Address Module (2.0.4) I want to trigger an AJAX request when the State changes in field_address. The state is named "administrative_area" in address field ...
0 votes
1 answer
52 views

I have the following form function beyond_shipping_form_alter(&$form, FormStateInterface $form_state, $form_id) { if ($form_id == 'commerce_checkout_flow_multistep_default') { $...
0 votes
1 answer
1k views

I'm getting a "The value you selected is not a valid choice." error for an Ajax modified field when I submit a custom altered node/add form. An "Illegal choice error is also written to ...
user avatar
1 vote
1 answer
2k views

I'm trying to do some custom UI tweaks while a view is being reloaded with ajax. I can find ways to trigger events when the ajaxcall is complete but I can't seem to find something similar for when the ...
3 votes
2 answers
2k views

I have used 'use-ajax' class to render login form in a modal. I want to handle validation errors on same modal without closing it. On successful login it is redirecting correctly, but when an error ...
4 votes
1 answer
10k views

I want that js script running after doing the ajax action. For example, its work for Drupal 7: Drupal.behaviors.events = { attach: function(context, settings) { $('#example').bind('...
0 votes
1 answer
1k views

How I want it to work: I have list of buttons(type button) that trigger an Ajax call that add the that item to a list. This works as exactly as I want it except for the button looks ugly . The ...
5 votes
1 answer
283 views

I'm learning drupal 8. I want create a page who contain a 'two dimensionnal' 'add another item' form. My code works well almost, but I have a strange behavior when I add rooms to a house (there is a ...
0 votes
1 answer
60 views

I want to add one form in user profile page. So i created user-profiled.tpl.php. In that template,i just copied the example from ajax framework for testing. Here is the whole codes: function ...
1 vote
0 answers
120 views

I have created a multiupload field in my node using Multiupload Filefield Widget. I am using the code below to alter the default node form. There is an ajax based dependent dropdown field in the form ...
0 votes
1 answer
100 views

i have problem replacing my ng-repeat my html inside ng-app <a href="#proceed" ng-click="order.submitOrderAjax()"> <?php print t('Finish order'); ?> </a> <ul> <li ...
1 vote
1 answer
121 views

I am trying to install Drupal using IIS 7 on Windows and it gets pretty far in the installation before it fails with the below error message. I always end up having to go back into Windows Services ...
0 votes
3 answers
2k views

I want to load the data from db and want to display the counts example: message(5).So i have written the query inside the the div. <?php function load() { echo "<div id='count'&...
Anaz's user avatar
  • 1
0 votes
2 answers
498 views

I am totally new to Drupal Ajax. In my projects one simple form with submit button only there for insert "yes" value to Database. so it should be done with Drupal Ajax. So When that button submit the ...
1 vote
2 answers
975 views

i'm submitting a form to create node using ajax. I can able to create a node using drupal_get_form('node_form', $node) but i need the node id in response. Can anyone help me out to get the node id in ...
Mohanraj's user avatar

15 30 50 per page
1
2 3

AltStyle によって変換されたページ (->オリジナル) /