This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

AJAX/JS is disabled on form error

I've added some bits of AJAX for my form, mostly just to hide and show forms. It works fine until there's a form error, then JS and AJAX stop working completely. Looked around but didn't find much...

The form I'm working on is a node form, and I'm adding stuff using hook_form_alter(). There are some AJAX buttons to do stuff and these links/buttons now won't work at all.

Can anyone help me figure this out?

How to migrate Image to Media Image

Hi!!

I have different types of contents like Events, News, Publications... and I need change the main image field to a new Media Field beacause I'm using now Entity Browser. Anyone knows how to do it and see all the images inside Entity Browser?

Thank you so much!

Creating a custom Processor Feeds workflow

In Feeds module, I want to create a custom Processor can import csv file to airport_data table with columns: id, airport_code, airport_name, day, hour, max_precheck_wait, max_standard_wait, updated. I can do it in Drupal 7 but I don’t know how to do it in the Drupal 8. Someone can help me please or give me some idea how to do it? Thanks.

Problems with paging

The code shows the creation of a table that will be populated when the advanceLoad() method of the manager controller is called. Sometimes this table contains a lot of information, so it is necessary to page it. With this code you can page but when you give it next on the paging link I get error. Can you help me? The code shows the two methods: the first is the form that displays the information, and the second is the method of the controller class that communicates with the database.

Drupal 7 ajax multistep form - Safari error

Hello,

Some Safari users get an error message in my custom drupal 7 Ajax multistep form. 

You can check the form on this page to see the error (if using Safari). Any idea what causes the error, and how to prevent it? 

https://www.hypotheek-rentetarieven.nl/hypokort/aanvragen/hypotheekvergelijking

Watch image of error here:

Passing a parameter to a node/add form

Hi, I am trying to add a parameter onto a node add form but not having any luck. Example, I'd like to have something like this: node/add/application/333 where 333 is another ID that I can use to control some things on the add form. Can someone steer me in the right direction?

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions