[ic] error tag with std_label=1 and show_error=0

Bill Carr interchange-users@icdevgroup.org
Wed Aug 14 16:22:01 2002


On Fri, 2002-08-09 at 11:20, Dan Browning wrote:
> At 08:24 AM 8/9/2002 -0400, you wrote:
> >IC 4.8.5
> >
> >[error
> >         name=fname
> >         std_label='First Name'
> >         show_label=1
> >         show_error=0
> >         required='[if cgi fname]0[else]1[/if]'
> >]
> >
> >Outputs the error as well as the label. I made a quick and dirty hack to
> >Interpolate.pm to change this behavior. Am I missing something here?
> >
> >I want to show the label highlighted in some way near the input box but
> >I do not want to show the error message itself in that area.
> 
> I highly recommend that you look into the [formel] usertag.  It has a lot 
> of nice shortcuts to save on the repetitive-strain-disorder, and I believe 
> it will do what you want with errors/labels as well.
Thank you for the tip but I can not make formel.tag not show the error.

It is my belief that [error] should not show the error if the show_error
parameter is set to '0'.

-- 
Bill Carr
Worldwide Impact
bill@worldwideimpact.com
413-253-6700