CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 Link Textbox to Textbox

Print topic Send  topic

Author Message
jcarlos


Posts: 16
Posted: 10/31/2014, 1:55 AM

Hi I'm trying to create 2 forms, which should link from one another text box to textbox

From "employee form" I have "emp_num textbox" that should connect to detail form which have emp_num as well, once I click "detail form", the emp number I entered in "employee form" should automatically show in the emp_num textbox in detail form

Thank you

Using ASP and SQL Server
View profile  Send private message
eratech


Posts: 513
Posted: 11/01/2014, 9:14 PM

Sounds like you want to use javascript on the employee.emp_num change event to take that value and put it in detail.emp_num?

If you are using jquery (or it is the default in new CCS5 projects), some client side Custom Code like:

var empnum = $("#employeeemp_num").val();  
$("#detailemp_num").val(empnum);  

Obviously, adjust the textbox names to be the ID on your forms

Eric
_________________
CCS 3/4/5 ASP Classic, VB.NET, PHP
Melbourne, Victoria, Australia
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.