itpanarub
19th November 2018, 03:05
Hello anybody,
i want to ask, what is the meaning (1;1) after lattr.prline(1;1).
can i use this function to give breakline for my field?
field.sls401.txta:
before.print:
validate.textline()
function validate.textline()
{
if ( lattr.prline(1;1) = ">" ) then
lattr.prline = lattr.prline(2)
else
if ( lattr.prline(1;1) = "<" ) then
lattr.print = false
endif
endif
}
i want to ask, what is the meaning (1;1) after lattr.prline(1;1).
can i use this function to give breakline for my field?
field.sls401.txta:
before.print:
validate.textline()
function validate.textline()
{
if ( lattr.prline(1;1) = ">" ) then
lattr.prline = lattr.prline(2)
else
if ( lattr.prline(1;1) = "<" ) then
lattr.print = false
endif
endif
}