Question: what is the element "std_elem" and how does this reflect the content of the elements "txt_Content" and "txt_ContentLong"?
On Feb 7, 8:07 pm, Joe <[email protected]> wrote: > Hi, > I was trying to capture the length of a text field, but this doesn't > seem to work. Is there a way that I could get this to work, or is > there another way of doing it? > > <!IoRangeList> > <!IoRangePreExecute> > <% longContentLen = <%!! > Context:CurrentPage.Elements.GetElement(std_elem).Value.Length !!%> %> > > <description> > <% if longContentLen>0 then %> > <%txt_ContentLong%> > <% else %> > <%txt_Content%> > <% end if %> > </description> > <!/IoRangePreExecute> > <!/IoRangeList> > > Thanks -- You received this message because you are subscribed to the Google Groups "RedDot CMS Users" 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/reddot-cms-users?hl=en.
