Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 11-22-2011, 12:16 AM   PM User | #1
jenbrink
New to the CF scene

 
Join Date: Nov 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
jenbrink is an unknown quantity at this point
Question Newbie: txt fld fills another txt fld?

I'm trying to do a simple form where if a user fills in one form text field another test field will be filled in with the same info.

I thought just naming them the same would do it, but... nope!

Is there a simple way to do this in html?

Thanks!
jenbrink is offline   Reply With Quote
Old 11-22-2011, 02:24 AM   PM User | #2
teedoff
Senior Coder

 
Join Date: Aug 2010
Location: High Point, NC
Posts: 3,325
Thanks: 5
Thanked 363 Times in 360 Posts
teedoff is on a distinguished road
HTML is static. Static means you cant save data, in this case the text input by a user, and pass it to another page or again in this case a text field. You would need server side to save and pass the data to the next element. Then the id's or names you gave the text input fiels CAN be used as variables or storage place in memory to store the text and used to fill the next field.

Javascript could do this as well, but I never like relying soely on js, since users can turn it off in their browsers.
__________________
Teed
teedoff is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:38 AM.


Advertisement
Log in to turn off these ads.