3 textfield for phone number
frankiestd168 <[email protected]> Thu, 14 Dec 2006 10:40:10 CST
| Newsgroups | gmane.comp.java.open-symphony.webwork |
|---|---|
| Message-ID | <27756665.1166114440396.JavaMail.os-j2ee@opensymphony01.managed.contegix.com> |
Before I am using the single textfield for phonenumber, works fine.
[code]
<s:textfield label="Phone number" name="phonenumber">
[/code]
But now, if I divide it into 3 fields, xxx-xxx-xxxx ,
How to change it?
Is there any way to custom the textfield tag ?
For example, at the end, I want to generate this html..
[code]
<tr>
<td class="tdLabel"><label for="UserDeviceSave_phonenumber" class="label">Phone number:</label></td>
<td >
<input type="text" name="phonenumber1" value="" size="3"/> -
<input type="text" name="phonenumber2" value="" size="3"/> -
<input type="text" name="phonenumber3" value="" size="4"/>
</td>
</tr>
[/code]
Any help is appreciated..
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=53572&messageID=107651#107651
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]