Autofill automatic

This public forum is for user-to-user discussions of ASP.NET Maker. Note that this is not support forum.
Post Reply
Danny
User
Posts: 139

Autofill automatic

Post by Danny »

Hi,

Can someone tell me you to start the autofill from another field with javascript.

Sample:
we have one field, named: customer
we have a second field, named employee

We want to start the autofill from the first field (Customer), if we change something from the second field (Employee).

1.At custom attributes:

"onchange='Employee(this.form);'"

  1. At Clientscript:

function Employee() {
........start the autofill from customers.....
};

Regards,


vincenthung
User
Posts: 88

Post by vincenthung »

You can use "Client Script" to subscribe the change event of the field "Employee" then update the value of the field "Customer"

For example:
$("x_Employee").change(function (){
$("x_Customer").val("<New value>");
});


Post Reply