De: Jason Carreira [mailto:[EMAIL PROTECTED]
Enviada em: sexta-feira, 19 de setembro de 2003 17:38
Para: [EMAIL PROTECTED]
Assunto: RE: [OS-webwork] grouping textfields (ui tags)
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, September 19, 2003 4:27 PM
To: [EMAIL PROTECTED]
Subject: [OS-webwork] grouping textfields (ui tags)Hi all,
I'm trying to build a form that contains a 'telephone' field. In plain HTML, it would look like something like this:
---
<tr>
<td colspan="2" class="error"><span class="errorMessage">Please fill in the area code and phone number.</span></td>
</tr>
<tr>
<td align="right" valign="top" class="error"><label class="label">Home phone:</label></td>
<td class="error">
<input type="text" name="user.homePhone.areaCode" value="" size="3"/>
<input type="text" name="user.homePhone.number" value="" size="8"/>
</td>
</tr>
---If it's possible to show just one label and one error message for the two fields (areaCode and number), any ideas on how can I do that?
Oh, I'm using yesterday's CVS HEAD, and a Velocity view.
Peace,
-cv