[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] error tag with std_label=1 and show_error=0
Bill Carr <bill@worldwideimpact.com> writes:
> 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.
[formel name=foo label="Stupid box" signal="%s"] should do that trick.
>
> It is my belief that [error] should not show the error if the show_error
> parameter is set to '0'.
Why do you want to use error if not for error display ??
Ciao
Racke
--
Prolific Interchange Consulting (Excellent German Quality !).
Take a look at Materialboerse (http://www.materialboerse.de/), WITT
(http://www.witt-weiden.de/), Boxmover (http://shop.boxmover.ch/) or
Passionshop (http://www.passionshop.com/racke). Need a shop ? Contact us.