On Thu, Apr 29, 2010 at 12:04 PM, Jim Gay <j...@saturnflyer.com> wrote:
> On Apr 29, 2010, at 11:03 AM, john muhl wrote:
>> On Thu, Apr 29, 2010 at 9:37 AM, Victor Zuniga
>> <vzun...@westervillelibrary.org> wrote:
>>> One of our staff members encountered an interesting behavior when setting up
>>> a form for a local activity. They wanted to limit the amount of characters a
>>> user can type within the text box. They went ahead and used the maxlength in
>>> the following manner:
>>>  <r:mailer:text name="1engraving4x8" id="1engraving4x8" maxlength="13"  />
>>> However, when looking at the generated page on the browser (View > Page
>>> Source) the attribute is nowhere to be found. If I go back to edit the page,
>>> I¹ll find the attribute where is meant  to be placed.
>>> Any ideas as to why is not displaying when using the mailer form tags?
>> the mailer extension only allows you to pass the "size", "class" and
>> "id" attributes through. i've run into this before and in my fork
>> accept many more attributes.
> John,
> I just added you to the mailer repository. Feel free to update it.

i've pushed up the changes now. some of the new html5 inputs types are
added and most attributes are now allowed (the few i left out didn't
seem to make sense in this context). if you're trying to set boolean
attributes you'll need to use the long version; e.g.
Radiant mailing list
Post: Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
List Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Radiant: http://radiantcms.org
Extensions: http://ext.radiantcms.org

Reply via email to