combines two text fields
Hello , I created a form with Adobe pro XI . I want to create a text field that combines two text fields ( field1 and field2 ) . How can I do?
Hello , I created a form with Adobe pro XI . I want to create a text field that combines two text fields ( field1 and field2 ) . How can I do?
If the third field does not need to be editable, you can use a custom calculation script for it that is something like the following:
// Custom calculation script
(function () {
// Get the field values, as strings
var s1 = getField("Text1").valueAsString;
var s2 = getField("Text2").valueAsString;
// Set this field's value by concatenating the two strings
event.value = s1 + s2;
})();
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.