Title: 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

Reply via email to