gathering 2 textfields

Avatar

Avatar

khaldoona993089

Avatar

khaldoona993089

khaldoona993089

19-11-2019

I want the textfied ( full name ))

gather 2 textfields directly  in other textfield

how can I do this ?

Untitled.jpg

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Mayank_Gandhi

Avatar

Mayank_Gandhi

Mayank_Gandhi

20-11-2019

Download the sample from here:

Adobe Document Cloud

Thanks,

Mayank

Answers (3)

Answers (3)

Avatar

Avatar

EvanJonesMdR

Avatar

EvanJonesMdR

EvanJonesMdR

18-12-2019

Concatenate is what will bring your two fields together. Using Javascript on the "Calculate" event of the fullnamefield use the following code:

if (firstnamefield.rawValue != null && lastnamefield.rawValue != null) {
this.rawValue = firstnamefield.rawValue + " " + lastnamefield.rawValue;
}


This code above is a Javascript IF statement that will only run IF your first name field AND lastnamefield rawvalues are not equal to null. If an object/text field has no text/numbers in it, it is considered to be Null or Zero or Nothing.

Avatar

Avatar

khaldoona993089

Avatar

khaldoona993089

khaldoona993089

26-11-2019

yess      YOU ARE THE MAN

THANK YOU SO MUCH

Avatar

Avatar

workflowuser

Employee

Avatar

workflowuser

Employee

workflowuser
Employee

20-11-2019

is this in xdp?