Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Problem/Motivation
When you turn off JavaScript and go to the form API example page for modal dialogs: examples/fapi-example/modal-form it works correctly. When you submit the value to the form, it shows you a message telling you what you submitted.
When you turn on JavaScript, however, the form handler shows the AJAX 'working' icon and then the submission message is never shown.
When accessed through the main description page, as a graphical modal dialog element, everything works.
Proposed resolution
Make the modal work for the page display version.
Write a test to prove that it works. This might be a functional javascript test.
Comments
Comment #2
Mile23Duplicate of #2838276: Modal Form Example not working
Comment #3
Mile23