
[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] How to use the [error] tag correctly?
- To: interchange-users@interchange.redhat.com
- Subject: [ic] How to use the [error] tag correctly?
- From: Steffen Dettmer <steffen@dett.de>
- Date: Fri, 12 Oct 2001 17:26:08 +0200
- Mail-Followup-To: Steffen Dettmer <steffen@dett.de>,interchange-users@interchange.redhat.com
- User-Agent: Mutt/1.2.5i
Hi,
I've playing with the [error] tag on a checkout page.
Not surprising, the form is a table with a description and a
input type text. When I use [error], and a check condidtion is
violated, the std_label gets printed. But when there is no error,
there is no label on my Input field. My code:
<td>
given name
[error name=fname std_label="given name" required=1 show_label=0]
</td><td>
<INPUT TYPE=text NAME=fname VALUE="[value fname]">
</td>
Even with show_label=0 (or no show_label at all) the label (given
name) gets displayed - on errors. I want at least to have give
name not twice on error, but I would prefere to have [error] to
output the label (in normal color) even when there was no error.
This would be the shortest way to make such forms: labeling all
just with the [error std_label]. Is this possible?
Second, [error] displays english messages, i.e. "blank". Is this
hardcoded in ./lib/Vend/Order.pm or is it possible to change the
messages (I think my german customers would prefere german
messages :))?
oki,
Steffen
--
Dieses Schreiben wurde maschinell erstellt,
es trägt daher weder Unterschrift noch Siegel.
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users