Quantcast
Channel: Adobe Community : Popular Discussions - JavaScript
Viewing all articles
Browse latest Browse all 12130

I have created a form which uses the text value of one field to populate the text of another field. Fails to recognize changes

$
0
0

I have created a form which uses the text value of one field to populate the text of another field.  However, if I need to change the text, the second field does not update that change.  Rather than reset the form every time, is there Javascript code to update fields if they have been changed?

 

Example I have Text1 and Text2.

 

When I type in Hello into Text1 I see Hello in Text2.

 

After, if I decide to change Text1 to Goodbye, Text2 remains Hello.

 

Hoe can the form recognize this change?

 

Thank You


Viewing all articles
Browse latest Browse all 12130

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>