Connecting Tech Pros Worldwide Forums | Help | Site Map

One text box split to look like 4 textboxes with combined result one value

Familiar Sight
 
Join Date: Sep 2006
Posts: 142
#1: Nov 18 '08
Hi, I need help please!

I'm not to sure if this possible.

I need to split a textbox to look like 4 textboxes with background text indicating the value required for each text box.

I want the 4 resulting textbox combined value of 1 textbox value.

Basically it has to be one textbox that is split to look like 4 with text tips as background!.

Please Assist, I need to get this going!

Regards



Newbie
 
Join Date: Jun 2008
Posts: 7
#2: Nov 18 '08

re: One text box split to look like 4 textboxes with combined result one value


You could create 4 text boxes, and then write javascript code to capture their onChange event and then update the union'ed textbox. Other than that, I dont think there's any other way around it.

FYI: http://www.w3schools.com/jsref/jsref_onchange.asp
Familiar Sight
 
Join Date: Sep 2006
Posts: 142
#3: Nov 19 '08

re: One text box split to look like 4 textboxes with combined result one value


Thank You this is great
Reply