If you do something like, say, enter a title of 600 characters and click Save, you'll get two JS pop-ups and then some JS barf.

This needs to be fixed, but we also need a design issue for figuring out what to do on validation errors in general with Edit module.


Wim Leers’s picture

Wim Leers’s picture

Title: Validation errors result in JS pop-ups and JSON barf » Validation support: validation errors currently result in JS alert()s with JSON barf
Version: 7.x-1.x-dev » 8.x-1.x-dev
Assigned: Unassigned » Wim Leers
Category: bug » task
45.68 KB

Current design:

Screen Shot 2012-10-26 at 12.15.44.png

Wim Leers’s picture

I'm currently working on this; this is what it currently looks like for type=direct fields.

Screen Shot 2012-10-31 at 15.15.30.png

Wim Leers’s picture

Version: 8.x-1.x-dev » 7.x-1.x-dev
Status: Active » Patch (to be ported)
10.89 KB
15.43 KB

In #3, only type=form validation was supported, now type=direct and type=direct-with-wysiwyg are also supported.

Screen Shot 2012-11-01 at 13.27.59.png

Screen Shot 2012-11-01 at 13.28.37.png

It's not super pretty, but we can iterate on how it looks post-feature freeze.


nod_’s picture

Status: Patch (to be ported) » Closed (fixed)
webchick’s picture

Issue tags: +Edit D7 Backport