This support forum belongs to the Form Gallery Module.
Form has a bug tracker here: https://github.com/ghinch/yui-gallery-form/issues
| Page 1 of 1 | [ 4 posts ] |
|
Hello, sorry if this question is rudimentary. With the YUI3 form object, is there support for setting the title attribute of form objects? Also, is there an image button support? Thanks.
Tri |
|
At the moment neither of those are supported, but I can look into adding them. I'll post here again when that's done.
Greg |
|
Thanks Greg for the response. In regards to the title attribute, can you have it where one could specific the attribute name in the method invocation? Thus, we can set the title, class, width, align, and any other attribute that might be needed. The class attribute is great to have supported as we link our CSS definitions to each HTML objects and can leverage them in this package. Thanks again.
Tri |
|
I've been thinking about this more, and I think I'd like to not add these attributes after all. I'd like to get away from the idea that Form is an abstraction of the form as an DOM node (thats what Y.Node is for). If you want to modify the attributes of the <form> tag in the page, you can access that via the "contentBox" attribute of the Form object and modify them there directly. I do think Form should grab these via parsed HTML if it is being created that way, so I'll get on that. But adding them after the fact should be done on the Node instance itself.
|
| Page 1 of 1 | [ 4 posts ] |
| You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum |
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info
Powered by phpBB® Forum Software © phpBB Group