AfterUpdate event (in fronpage)

W

Wayne-I-M

Hi

I have a box on an asp form that users can input some text. After they have
inserted the text I would like another box filled with the same text.

The same as in access

Private Sub TextBox1_AfterUpdate()
Me.TextBox2 = Me.TextBox1
End Sub

Of course they can then alter the text in the 2nd box if they wish to but
most people won't.

Thanks for any help
 
R

Ronx

Use Javascript in the onchange event is one solution:

<form name="testform" method="post">
<textarea cols="20" name="TextArea1" rows="2"
onchange="document.forms['testform'].TextArea2.value =
document.forms['testform'].TextArea1.value"></textarea><br />
<br />
<textarea cols="20" name="TextArea2" rows="2"></textarea>
</form>

--
Ron Symonds
Microsoft MVP (Expression Web)
http://www.rxs-enterprises.org/fp

Reply only to group - emails will be deleted unread.
 
W

Wayne-I-M

Thank you


--
Wayne
Manchester, England.



Ronx said:
Use Javascript in the onchange event is one solution:

<form name="testform" method="post">
<textarea cols="20" name="TextArea1" rows="2"
onchange="document.forms['testform'].TextArea2.value =
document.forms['testform'].TextArea1.value"></textarea><br />
<br />
<textarea cols="20" name="TextArea2" rows="2"></textarea>
</form>

--
Ron Symonds
Microsoft MVP (Expression Web)
http://www.rxs-enterprises.org/fp

Reply only to group - emails will be deleted unread.



Wayne-I-M said:
Hi

I have a box on an asp form that users can input some text. After they
have
inserted the text I would like another box filled with the same text.

The same as in access

Private Sub TextBox1_AfterUpdate()
Me.TextBox2 = Me.TextBox1
End Sub

Of course they can then alter the text in the 2nd box if they wish to but
most people won't.

Thanks for any help
.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top