Timeline for How to see if ajax has been added to a simple node form?
Current License: CC BY-SA 4.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 20, 2021 at 22:55 | comment | added | Interlated | Ah - thank you $form['field_bond_amt_issued']['widget'][0]['value']['#ajax'] = [ | |
Sep 20, 2021 at 21:19 | comment | added | Kevin | Yes - is #ajax being added into the right part of the structure, though? See: drupal.stackexchange.com/questions/277008/… | |
Sep 20, 2021 at 21:00 | comment | added | Interlated | Standard content editing form. I can see the form structure. | |
Sep 20, 2021 at 11:39 | comment | added | Kevin | So it's a widget form element not a standard form? Xdebug would show you the form element structure. | |
Sep 20, 2021 at 9:05 | comment | added | Interlated | I've had hit and miss in the past with x-debug on the callback. I can't see it being hit in the network view, so am assuming it isn't even being triggered. Xdebug definitely not picking it up. | |
Sep 20, 2021 at 8:11 | comment | added | Kevin | Using xdebug to step through the code would be the easiest way to see the callback called. But that prefix looks odd? What is "$form['output']" related to? | |
Sep 20, 2021 at 7:37 | history | asked | Interlated | CC BY-SA 4.0 |