#5182: Class property is being filtered from hidden input elements
-----------------------------------------------+----------------------------
Reporter: Lemon | Owner: mark_story
Type: Bug | Status: closed
Priority: Medium | Milestone: 1.2.x.x
Component: Helpers | Version: RC2
Severity: Normal | Resolution: wontfix
Keywords: form hidden input class helper | Php_version: n/a
Cake_version: 1.2.0.7296 RC2 |
-----------------------------------------------+----------------------------
Comment (by benjam):
I'd like to second this request, even though it is closed.[[BR]]
[[BR]]
I have read the reasons why this was closed in #3496, and am wondering how
the inclusion of classes that are generated by the validation would affect
the display of a hidden input. Hidden inputs are hidden.[[BR]]
[[BR]]
It is rather unwieldy to try and wrap all the hidden inputs on a page into
a single div, especially if those hidden inputs are scattered amongst
several forms. It is also difficult to try and select a bunch of hidden
inputs based on ID. IDs are meant to be unique, and therefore one would
have to loop through the entire list of IDs on a page via javascript to
find the relevant ones. And as was stated "input[type=hidden]" is not
well enough supported to be of any real use. Selecting them all by class
would be much more simple, as well as being the only real viable solution
in some situations.[[BR]]
[[BR]]
But (and I hope I don't sound confrontational here, I truly am just
curious) I really would like to know how the validation errors disrupt the
display of hidden inputs.
--
Ticket URL: <https://trac.cakephp.org/ticket/5182#comment:3>
CakePHP : The Rapid Development Framework for PHP <https://trac.cakephp.org/>
Cake is a rapid development framework for PHP which uses commonly known design
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC.
Our primary goal is to provide a structured framework that enables PHP users at
all levels to rapidly develop robust web applications, without any loss to
flexibility.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"tickets cakephp" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/tickets-cakephp?hl=en
-~----------~----~----~----~------~----~------~--~---