Closed (duplicate)
Project:
Field Group Ajaxified Multipage
Version:
7.x-1.x-dev
Component:
User interface
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 May 2013 at 16:08 UTC
Updated:
18 Jan 2016 at 10:28 UTC
Jump to comment: Most recent
Comments
Comment #1
aaronbaumanIn fact, this module doesn't seem to do any validation between steps, even for core fields.
What's the point of ajaxifying if we're not performing any server-side logic on submit?In fact, server-side validation doesn't even happen on the final submit.
I'm able to submit a node form without filling in any required fields.
This is a serious problem
Comment #2
aaronbaumanComment #3
thijsvdanker commentedPlease review https://www.drupal.org/node/1972616#comment-9502715.
It applies to the master branch!! of this project.
Comment #4
thijsvdanker commentedComment #5
fox_01 commentedi have installed the 7.x-1.0-beta2 version and tried the example module and it stops on not filled required fields. so it works. but i have clientside validation enabled. is this module required here?
Comment #6
Algeron commentedIn case anyone is struggling with getting validation to trigger on fieldable entities, allow me to share a day's worth of frustration and a workaround:
My setup
Issues
Workaround
For reasons that are beyond me, field validation only acts on "simple" fields when the user is on step 1. I was able to restructure the steps in such a way that the first step only had a simple radio button list. I still had to set its #default_value in a hook_form_alter, since neither the field configuration nor the drafted values were sticking.
As for the values that kept disappearing when validation failed: adding the following snippet to my validation function fixed the issue:
Versions
Comment #7
sgurlt commentedThis is a duplication of: https://www.drupal.org/node/1972616
My patch #46 there should fix that.