[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
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.
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Dan Browning, Kavod Technologies <db@kavod.com>
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
It is better for civilization to be going down the drain than to be
coming up it.
-- Henry Allen