When did you put that in??
[Edit] http://www.llblgen.com/tinyforum/Messages.aspx?ThreadID=4117&HighLight=1
[Edit] Sorry, starting to lose my mind. Seriously...too many late nights.
Ok, yes, but that requires an entity instance. Originally I wanted something that didn't. Now the way I am doing things, I actually have an entity instance. But, the piece of code that sets edit controls' max length doesn't know about the field indexes, it just has a field name.
So, this template snippet is very useful if you have a field name and not index. And, it could be made static so as to not require an entity instance. Sorry for any confusion.
Last week I thought it was Jan 23 when actually it was the 30th. My wife is starting to get worried my mind is going. But it's just the 12 hour days.