Comments

benstjohn created an issue. See original summary.

benstjohn’s picture

raphaelhuefner’s picture

Here is a patch which extends the above stock Drupal AJAX solution to incorporate some feedback from actual users:

  • Disable the submit button until the webform_publications component has been loaded via AJAX, thereby avoiding form validation error messages about missing components.
  • Trigger AJAX as early as a valid Postal Code has been typed in, not only after the input element lost focus. ("You have to click *outside* the postal code field for some newspapers to show up." ... was something which was really hard to explain to casual users.)
raphaelhuefner’s picture

Make postal code validation case-insensitive.

benstjohn’s picture

Adding AU to list of valid regex.

benstjohn’s picture

Fixing malformed patch.

benstjohn’s picture

More accurate regex.

  • dtarc committed 682bed4 on 7.x-1.x authored by benstjohn
    Issue #2662894 by benstjohn, raphaelhuefner: If key component exists on...
dtarc’s picture

Status: Patch (to be ported) » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.