Closed (fixed)
Project:
Chaos Tool Suite (ctools)
Version:
7.x-1.x-dev
Component:
Documentation
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Dec 2011 at 19:24 UTC
Updated:
4 Feb 2012 at 00:31 UTC
In the line 37-38 of wizard.inc, it says the following:
/**
* Do NOT use #required => TRUE with these forms as that validation
* cannot be skipped for the CANCEL button.
*/ This does not appear to be the case as the Cancel button has #limit_validation_errors' set, which causes the validation to be successfully bypassed. This patch removes the comment before it confuses anyone else.
| Comment | File | Size | Author |
|---|---|---|---|
| fix-comment-about-required.patch | 506 bytes | brianV |
Comments
Comment #1
merlinofchaos commentedYeah, that's legacy. In the olden days you couldn't use #required but we've since figured that little thing out.