Solved

After leaving the Inputfield data transfer to another field

Posted on 2002-04-25
5
157 Views
Last Modified: 2010-04-09
Is it possible?

I want to get a data in intput field(a) entred in another inputfield(b) after adding data and leaving inputfield(b).

If it is possible please let me know. (Urgent!!!).

 
0
Comment
Question by:Bhatti
  • 3
  • 2
5 Comments
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 6968226
You mean something like this:

<form name="myform">
<input type="text" name="fldA">
<input type="test" name="fldB" onBlur="this.value+=document.myform.fldA.value">
</form>

If not, A bit more detailed description would help.

Cd&
0
 
LVL 4

Author Comment

by:Bhatti
ID: 6968453
Just small modification.

When I leave the field where I wrote some data, can we get the same data in another field.

In your example it is possible but first we leave the field and go to the other field and back to the first field to click, then It write the same data.
Or when I write some thing (in other field where I want my data from first field) and leave the field then write also.

I want if it is possible:

I write a data in field1 and leave the field. (When I leave the field can we get the written data in another field say field2.

0
 
LVL 53

Accepted Solution

by:
COBOLdinosaur earned 100 total points
ID: 6968558
Do you mean like this:
<form name="myform">
<input type="text" name="fldA" onBlur="document.myform.fldB.value=this.value">
<input type="test" name="fldB">
</form>

Cd&
0
 
LVL 4

Author Comment

by:Bhatti
ID: 6968643
Thanks: That what I was looking for.
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 6968705
Glad I could help. Thanks for the A. :^)

Cd&
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…

939 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now